#[repr(transparent)]pub struct CUmemAllocationCompType_enum(pub c_uint);Expand description
Specifies compression attribute for an allocation.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUmemAllocationCompType_enum
impl CUmemAllocationCompType_enum
Sourcepub const CU_MEM_ALLOCATION_COMP_NONE: CUmemAllocationCompType_enum
pub const CU_MEM_ALLOCATION_COMP_NONE: CUmemAllocationCompType_enum
Allocating non-compressible memory.
Sourcepub const CU_MEM_ALLOCATION_COMP_GENERIC: CUmemAllocationCompType_enum
pub const CU_MEM_ALLOCATION_COMP_GENERIC: CUmemAllocationCompType_enum
Allocating compressible memory.
Trait Implementations§
Source§impl Clone for CUmemAllocationCompType_enum
impl Clone for CUmemAllocationCompType_enum
impl Copy for CUmemAllocationCompType_enum
Source§impl Debug for CUmemAllocationCompType_enum
impl Debug for CUmemAllocationCompType_enum
impl Eq for CUmemAllocationCompType_enum
Source§impl Hash for CUmemAllocationCompType_enum
impl Hash for CUmemAllocationCompType_enum
Source§impl Ord for CUmemAllocationCompType_enum
impl Ord for CUmemAllocationCompType_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUmemAllocationCompType_enum
impl PartialOrd for CUmemAllocationCompType_enum
impl StructuralPartialEq for CUmemAllocationCompType_enum
Auto Trait Implementations§
impl Forget for CUmemAllocationCompType_enum
impl Freeze for CUmemAllocationCompType_enum
impl Move for CUmemAllocationCompType_enum
impl RefUnwindSafe for CUmemAllocationCompType_enum
impl Send for CUmemAllocationCompType_enum
impl Sync for CUmemAllocationCompType_enum
impl Unpin for CUmemAllocationCompType_enum
impl UnsafeUnpin for CUmemAllocationCompType_enum
impl UnwindSafe for CUmemAllocationCompType_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