pub struct OpenedMem { /* private fields */ }Expand description
Imported memory handle. Drop releases the mapping via
cuIpcCloseMemHandle. Cloning is not supported — only one
OpenedMem may exist per import to keep the Drop semantics
straightforward.
Implementations§
Trait Implementations§
impl Send for OpenedMem
impl Sync for OpenedMem
Auto Trait Implementations§
impl Freeze for OpenedMem
impl RefUnwindSafe for OpenedMem
impl Unpin for OpenedMem
impl UnsafeUnpin for OpenedMem
impl UnwindSafe for OpenedMem
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