#[non_exhaustive]#[repr(u32)]pub enum CUmemAllocationCompType_enum {
CU_MEM_ALLOCATION_COMP_NONE = 0,
CU_MEM_ALLOCATION_COMP_GENERIC = 1,
}Expand description
Specifies compression attribute for an allocation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CU_MEM_ALLOCATION_COMP_NONE = 0
< Allocating non-compressible memory
CU_MEM_ALLOCATION_COMP_GENERIC = 1
< 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 copy 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
This method 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 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