#[repr(transparent)]pub struct CUmemAllocationCompType_enum(pub c_uint);
Expand description
Specifies compression attribute for an allocation.
Tuple Fields§
§0: c_uint
Implementations§
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
Source§impl CUmemAllocationCompType_enum
impl CUmemAllocationCompType_enum
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
Source§fn clone(&self) -> CUmemAllocationCompType_enum
fn clone(&self) -> CUmemAllocationCompType_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 Debug for CUmemAllocationCompType_enum
impl Debug for CUmemAllocationCompType_enum
Source§impl Hash for CUmemAllocationCompType_enum
impl Hash for CUmemAllocationCompType_enum
Source§impl PartialEq for CUmemAllocationCompType_enum
impl PartialEq for CUmemAllocationCompType_enum
Source§fn eq(&self, other: &CUmemAllocationCompType_enum) -> bool
fn eq(&self, other: &CUmemAllocationCompType_enum) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CUmemAllocationCompType_enum
impl Eq for CUmemAllocationCompType_enum
impl StructuralPartialEq for CUmemAllocationCompType_enum
Auto Trait Implementations§
impl Freeze for CUmemAllocationCompType_enum
impl RefUnwindSafe for CUmemAllocationCompType_enum
impl Send for CUmemAllocationCompType_enum
impl Sync for CUmemAllocationCompType_enum
impl Unpin 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