#[repr(C)]pub struct cudaExternalMemoryHandleDesc {
pub type_: cudaExternalMemoryHandleType,
pub handle: cudaExternalMemoryHandleDesc__bindgen_ty_1,
pub size: u64,
pub flags: u32,
}
Expand description
External memory handle descriptor
Fields§
§type_: cudaExternalMemoryHandleType
Type of the handle
handle: cudaExternalMemoryHandleDesc__bindgen_ty_1
§size: u64
Size of the memory allocation
flags: u32
Flags must either be zero or ::cudaExternalMemoryDedicated
Trait Implementations§
Source§impl Clone for cudaExternalMemoryHandleDesc
impl Clone for cudaExternalMemoryHandleDesc
Source§fn clone(&self) -> cudaExternalMemoryHandleDesc
fn clone(&self) -> cudaExternalMemoryHandleDesc
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 moreimpl Copy for cudaExternalMemoryHandleDesc
Auto Trait Implementations§
impl Freeze for cudaExternalMemoryHandleDesc
impl RefUnwindSafe for cudaExternalMemoryHandleDesc
impl !Send for cudaExternalMemoryHandleDesc
impl !Sync for cudaExternalMemoryHandleDesc
impl Unpin 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