#[repr(transparent)]pub struct cudaMemAllocationHandleType(pub c_uint);
Expand description
Flags for specifying particular handle types
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaMemAllocationHandleType
impl cudaMemAllocationHandleType
Sourcepub const cudaMemHandleTypeNone: cudaMemAllocationHandleType
pub const cudaMemHandleTypeNone: cudaMemAllocationHandleType
< Does not allow any export mechanism. >
Source§impl cudaMemAllocationHandleType
impl cudaMemAllocationHandleType
Sourcepub const cudaMemHandleTypePosixFileDescriptor: cudaMemAllocationHandleType
pub const cudaMemHandleTypePosixFileDescriptor: cudaMemAllocationHandleType
< Allows a file descriptor to be used for exporting. Permitted only on POSIX systems. (int)
Source§impl cudaMemAllocationHandleType
impl cudaMemAllocationHandleType
Sourcepub const cudaMemHandleTypeWin32: cudaMemAllocationHandleType
pub const cudaMemHandleTypeWin32: cudaMemAllocationHandleType
< Allows a Win32 NT handle to be used for exporting. (HANDLE)
Source§impl cudaMemAllocationHandleType
impl cudaMemAllocationHandleType
Sourcepub const cudaMemHandleTypeWin32Kmt: cudaMemAllocationHandleType
pub const cudaMemHandleTypeWin32Kmt: cudaMemAllocationHandleType
< Allows a Win32 KMT handle to be used for exporting. (D3DKMT_HANDLE)
Source§impl cudaMemAllocationHandleType
impl cudaMemAllocationHandleType
Sourcepub const cudaMemHandleTypeFabric: cudaMemAllocationHandleType
pub const cudaMemHandleTypeFabric: cudaMemAllocationHandleType
< Allows a fabric handle to be used for exporting. (cudaMemFabricHandle_t)
Trait Implementations§
Source§impl Clone for cudaMemAllocationHandleType
impl Clone for cudaMemAllocationHandleType
Source§fn clone(&self) -> cudaMemAllocationHandleType
fn clone(&self) -> cudaMemAllocationHandleType
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 cudaMemAllocationHandleType
impl Debug for cudaMemAllocationHandleType
Source§impl Hash for cudaMemAllocationHandleType
impl Hash for cudaMemAllocationHandleType
impl Copy for cudaMemAllocationHandleType
impl Eq for cudaMemAllocationHandleType
impl StructuralPartialEq for cudaMemAllocationHandleType
Auto Trait Implementations§
impl Freeze for cudaMemAllocationHandleType
impl RefUnwindSafe for cudaMemAllocationHandleType
impl Send for cudaMemAllocationHandleType
impl Sync for cudaMemAllocationHandleType
impl Unpin for cudaMemAllocationHandleType
impl UnwindSafe for cudaMemAllocationHandleType
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