pub struct ContextHandler<'a> { /* private fields */ }Expand description
Handler of Cuda context that was pushed as current. On Drop will pop context from current.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ContextHandler<'a>
impl<'a> RefUnwindSafe for ContextHandler<'a>
impl<'a> Send for ContextHandler<'a>
impl<'a> Sync for ContextHandler<'a>
impl<'a> Unpin for ContextHandler<'a>
impl<'a> UnwindSafe for ContextHandler<'a>
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