#[repr(u32)]pub enum CUmemAllocationHandleType_enum {
CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR = 1,
CU_MEM_HANDLE_TYPE_WIN32 = 2,
CU_MEM_HANDLE_TYPE_WIN32_KMT = 4,
CU_MEM_HANDLE_TYPE_MAX = 4_294_967_295,
}Variants§
CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR = 1
CU_MEM_HANDLE_TYPE_WIN32 = 2
CU_MEM_HANDLE_TYPE_WIN32_KMT = 4
CU_MEM_HANDLE_TYPE_MAX = 4_294_967_295
Trait Implementations§
Source§impl Clone for CUmemAllocationHandleType_enum
impl Clone for CUmemAllocationHandleType_enum
Source§fn clone(&self) -> CUmemAllocationHandleType_enum
fn clone(&self) -> CUmemAllocationHandleType_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 CUmemAllocationHandleType_enum
impl Ord for CUmemAllocationHandleType_enum
Source§fn cmp(&self, other: &CUmemAllocationHandleType_enum) -> Ordering
fn cmp(&self, other: &CUmemAllocationHandleType_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 CUmemAllocationHandleType_enum
impl PartialEq for CUmemAllocationHandleType_enum
Source§fn eq(&self, other: &CUmemAllocationHandleType_enum) -> bool
fn eq(&self, other: &CUmemAllocationHandleType_enum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CUmemAllocationHandleType_enum
impl PartialOrd for CUmemAllocationHandleType_enum
impl Copy for CUmemAllocationHandleType_enum
impl Eq for CUmemAllocationHandleType_enum
impl StructuralPartialEq for CUmemAllocationHandleType_enum
Auto Trait Implementations§
impl Freeze for CUmemAllocationHandleType_enum
impl RefUnwindSafe for CUmemAllocationHandleType_enum
impl Send for CUmemAllocationHandleType_enum
impl Sync for CUmemAllocationHandleType_enum
impl Unpin for CUmemAllocationHandleType_enum
impl UnwindSafe for CUmemAllocationHandleType_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