#[repr(transparent)]pub struct CUmemAllocationHandleType(pub c_uint);
Expand description
Flags for specifying particular handle types Flags for specifying particular handle types
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUmemAllocationHandleType_enum
impl CUmemAllocationHandleType_enum
Sourcepub const CU_MEM_HANDLE_TYPE_NONE: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_NONE: CUmemAllocationHandleType_enum
< Does not allow any export mechanism. >
Source§impl CUmemAllocationHandleType_enum
impl CUmemAllocationHandleType_enum
Sourcepub const CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR: CUmemAllocationHandleType_enum
< Allows a file descriptor to be used for exporting. Permitted only on POSIX systems. (int)
Source§impl CUmemAllocationHandleType_enum
impl CUmemAllocationHandleType_enum
Sourcepub const CU_MEM_HANDLE_TYPE_WIN32: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_WIN32: CUmemAllocationHandleType_enum
< Allows a Win32 NT handle to be used for exporting. (HANDLE)
Source§impl CUmemAllocationHandleType_enum
impl CUmemAllocationHandleType_enum
Sourcepub const CU_MEM_HANDLE_TYPE_WIN32_KMT: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_WIN32_KMT: CUmemAllocationHandleType_enum
< Allows a Win32 KMT handle to be used for exporting. (D3DKMT_HANDLE)
Source§impl CUmemAllocationHandleType_enum
impl CUmemAllocationHandleType_enum
Sourcepub const CU_MEM_HANDLE_TYPE_FABRIC: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_FABRIC: CUmemAllocationHandleType_enum
< Allows a fabric handle to be used for exporting. (CUmemFabricHandle)
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 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 ==
.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