#[repr(C)]pub struct cudaExternalMemoryHandleDesc {
pub type_: cudaExternalMemoryHandleType,
pub handle: cudaExternalMemoryHandleDesc__bindgen_ty_1,
pub size: c_ulonglong,
pub flags: c_uint,
pub reserved: [c_uint; 16],
}Expand description
External memory handle descriptor.
Fields§
§type_: cudaExternalMemoryHandleTypeType of the handle.
handle: cudaExternalMemoryHandleDesc__bindgen_ty_1Platform-specific external handle representation selected by type.
size: c_ulonglongSize of the memory allocation.
flags: c_uintFlags must either be zero or cudaExternalMemoryDedicated.
reserved: [c_uint; 16]Must be zero.
Trait Implementations§
Source§impl Clone for cudaExternalMemoryHandleDesc
impl Clone for cudaExternalMemoryHandleDesc
impl Copy for cudaExternalMemoryHandleDesc
Auto Trait Implementations§
impl !Send for cudaExternalMemoryHandleDesc
impl !Sync for cudaExternalMemoryHandleDesc
impl Forget for cudaExternalMemoryHandleDesc
impl Freeze for cudaExternalMemoryHandleDesc
impl Move for cudaExternalMemoryHandleDesc
impl RefUnwindSafe for cudaExternalMemoryHandleDesc
impl Unpin for cudaExternalMemoryHandleDesc
impl UnsafeUnpin for cudaExternalMemoryHandleDesc
impl UnwindSafe for cudaExternalMemoryHandleDesc
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