#[repr(u32)]pub enum CUmemAllocationType_enum {
CU_MEM_ALLOCATION_TYPE_INVALID = 0,
CU_MEM_ALLOCATION_TYPE_PINNED = 1,
CU_MEM_ALLOCATION_TYPE_MAX = 4_294_967_295,
}Variants§
CU_MEM_ALLOCATION_TYPE_INVALID = 0
CU_MEM_ALLOCATION_TYPE_PINNED = 1
CU_MEM_ALLOCATION_TYPE_MAX = 4_294_967_295
Trait Implementations§
Source§impl Clone for CUmemAllocationType_enum
impl Clone for CUmemAllocationType_enum
Source§fn clone(&self) -> CUmemAllocationType_enum
fn clone(&self) -> CUmemAllocationType_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 CUmemAllocationType_enum
impl Debug for CUmemAllocationType_enum
Source§impl Hash for CUmemAllocationType_enum
impl Hash for CUmemAllocationType_enum
Source§impl Ord for CUmemAllocationType_enum
impl Ord for CUmemAllocationType_enum
Source§fn cmp(&self, other: &CUmemAllocationType_enum) -> Ordering
fn cmp(&self, other: &CUmemAllocationType_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 CUmemAllocationType_enum
impl PartialEq for CUmemAllocationType_enum
Source§impl PartialOrd for CUmemAllocationType_enum
impl PartialOrd for CUmemAllocationType_enum
impl Copy for CUmemAllocationType_enum
impl Eq for CUmemAllocationType_enum
impl StructuralPartialEq for CUmemAllocationType_enum
Auto Trait Implementations§
impl Freeze for CUmemAllocationType_enum
impl RefUnwindSafe for CUmemAllocationType_enum
impl Send for CUmemAllocationType_enum
impl Sync for CUmemAllocationType_enum
impl Unpin for CUmemAllocationType_enum
impl UnwindSafe for CUmemAllocationType_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