#[repr(u32)]pub enum CUatomicOperationCapability_enum {
CU_ATOMIC_CAPABILITY_SIGNED = 1,
CU_ATOMIC_CAPABILITY_UNSIGNED = 2,
CU_ATOMIC_CAPABILITY_REDUCTION = 4,
CU_ATOMIC_CAPABILITY_SCALAR_32 = 8,
CU_ATOMIC_CAPABILITY_SCALAR_64 = 16,
CU_ATOMIC_CAPABILITY_SCALAR_128 = 32,
CU_ATOMIC_CAPABILITY_VECTOR_32x4 = 64,
}Variants§
CU_ATOMIC_CAPABILITY_SIGNED = 1
CU_ATOMIC_CAPABILITY_UNSIGNED = 2
CU_ATOMIC_CAPABILITY_REDUCTION = 4
CU_ATOMIC_CAPABILITY_SCALAR_32 = 8
CU_ATOMIC_CAPABILITY_SCALAR_64 = 16
CU_ATOMIC_CAPABILITY_SCALAR_128 = 32
CU_ATOMIC_CAPABILITY_VECTOR_32x4 = 64
Trait Implementations§
Source§impl Clone for CUatomicOperationCapability_enum
impl Clone for CUatomicOperationCapability_enum
Source§fn clone(&self) -> CUatomicOperationCapability_enum
fn clone(&self) -> CUatomicOperationCapability_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 moreSource§impl Ord for CUatomicOperationCapability_enum
impl Ord for CUatomicOperationCapability_enum
Source§fn cmp(&self, other: &CUatomicOperationCapability_enum) -> Ordering
fn cmp(&self, other: &CUatomicOperationCapability_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
Source§impl PartialEq for CUatomicOperationCapability_enum
impl PartialEq for CUatomicOperationCapability_enum
Source§fn eq(&self, other: &CUatomicOperationCapability_enum) -> bool
fn eq(&self, other: &CUatomicOperationCapability_enum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CUatomicOperationCapability_enum
impl PartialOrd for CUatomicOperationCapability_enum
impl Copy for CUatomicOperationCapability_enum
impl Eq for CUatomicOperationCapability_enum
impl StructuralPartialEq for CUatomicOperationCapability_enum
Auto Trait Implementations§
impl Freeze for CUatomicOperationCapability_enum
impl RefUnwindSafe for CUatomicOperationCapability_enum
impl Send for CUatomicOperationCapability_enum
impl Sync for CUatomicOperationCapability_enum
impl Unpin for CUatomicOperationCapability_enum
impl UnsafeUnpin for CUatomicOperationCapability_enum
impl UnwindSafe for CUatomicOperationCapability_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