Enum CUtensorMapSwizzle
#[repr(u32)]pub enum CUtensorMapSwizzle {
CU_TENSOR_MAP_SWIZZLE_NONE = 0,
CU_TENSOR_MAP_SWIZZLE_32B = 1,
CU_TENSOR_MAP_SWIZZLE_64B = 2,
CU_TENSOR_MAP_SWIZZLE_128B = 3,
}Variants§
CU_TENSOR_MAP_SWIZZLE_NONE = 0
CU_TENSOR_MAP_SWIZZLE_32B = 1
CU_TENSOR_MAP_SWIZZLE_64B = 2
CU_TENSOR_MAP_SWIZZLE_128B = 3
Trait Implementations§
§impl Clone for CUtensorMapSwizzle_enum
impl Clone for CUtensorMapSwizzle_enum
§fn clone(&self) -> CUtensorMapSwizzle_enum
fn clone(&self) -> CUtensorMapSwizzle_enum
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 more§impl Debug for CUtensorMapSwizzle_enum
impl Debug for CUtensorMapSwizzle_enum
§impl Hash for CUtensorMapSwizzle_enum
impl Hash for CUtensorMapSwizzle_enum
§impl Ord for CUtensorMapSwizzle_enum
impl Ord for CUtensorMapSwizzle_enum
§fn cmp(&self, other: &CUtensorMapSwizzle_enum) -> Ordering
fn cmp(&self, other: &CUtensorMapSwizzle_enum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for CUtensorMapSwizzle_enum
impl PartialEq for CUtensorMapSwizzle_enum
§impl PartialOrd for CUtensorMapSwizzle_enum
impl PartialOrd for CUtensorMapSwizzle_enum
impl Copy for CUtensorMapSwizzle_enum
impl Eq for CUtensorMapSwizzle_enum
impl StructuralPartialEq for CUtensorMapSwizzle_enum
Auto Trait Implementations§
impl Freeze for CUtensorMapSwizzle_enum
impl RefUnwindSafe for CUtensorMapSwizzle_enum
impl Send for CUtensorMapSwizzle_enum
impl Sync for CUtensorMapSwizzle_enum
impl Unpin for CUtensorMapSwizzle_enum
impl UnsafeUnpin for CUtensorMapSwizzle_enum
impl UnwindSafe for CUtensorMapSwizzle_enum
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more