#[repr(transparent)]pub struct CUmemAllocationHandleType_enum(pub c_uint);Expand description
Flags for specifying particular handle types.
Tuple Fields§
§0: c_uintImplementations§
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.
.
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).
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).
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).
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).
Sourcepub const CU_MEM_HANDLE_TYPE_MAX: CUmemAllocationHandleType_enum
pub const CU_MEM_HANDLE_TYPE_MAX: CUmemAllocationHandleType_enum
Reserved upper-bound sentinel for native allocation handle types.
Trait Implementations§
impl Copy for CUmemAllocationHandleType_enum
impl Eq for CUmemAllocationHandleType_enum
Source§impl Ord for CUmemAllocationHandleType_enum
impl Ord for CUmemAllocationHandleType_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUmemAllocationHandleType_enum
impl PartialOrd for CUmemAllocationHandleType_enum
impl StructuralPartialEq for CUmemAllocationHandleType_enum
Auto Trait Implementations§
impl Forget for CUmemAllocationHandleType_enum
impl Freeze for CUmemAllocationHandleType_enum
impl Move for CUmemAllocationHandleType_enum
impl RefUnwindSafe for CUmemAllocationHandleType_enum
impl Send for CUmemAllocationHandleType_enum
impl Sync for CUmemAllocationHandleType_enum
impl Unpin for CUmemAllocationHandleType_enum
impl UnsafeUnpin 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