#[repr(transparent)]pub struct TensorUsage(pub UInteger);Expand description
Tensor usage options.
C++ equivalent: MTL::TensorUsage
Tuple Fields§
§0: UIntegerImplementations§
Source§impl TensorUsage
impl TensorUsage
Trait Implementations§
Source§impl BitAnd for TensorUsage
impl BitAnd for TensorUsage
Source§impl BitOr for TensorUsage
impl BitOr for TensorUsage
Source§impl BitOrAssign for TensorUsage
impl BitOrAssign for TensorUsage
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for TensorUsage
impl Clone for TensorUsage
Source§fn clone(&self) -> TensorUsage
fn clone(&self) -> TensorUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorUsage
impl Debug for TensorUsage
Source§impl Default for TensorUsage
impl Default for TensorUsage
Source§fn default() -> TensorUsage
fn default() -> TensorUsage
Returns the “default value” for a type. Read more
Source§impl Hash for TensorUsage
impl Hash for TensorUsage
Source§impl PartialEq for TensorUsage
impl PartialEq for TensorUsage
impl Copy for TensorUsage
impl Eq for TensorUsage
impl StructuralPartialEq for TensorUsage
Auto Trait Implementations§
impl Freeze for TensorUsage
impl RefUnwindSafe for TensorUsage
impl Send for TensorUsage
impl Sync for TensorUsage
impl Unpin for TensorUsage
impl UnwindSafe for TensorUsage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more