pub struct RawModule {
pub handle: CUmodule,
pub context: Arc<Context>,
}Expand description
Raw ownership of a loaded CUDA module and its context.
Unload handle while context is alive, or re-adopt the value with Module::from_raw.
Fields§
§handle: CUmoduleNative module handle.
context: Arc<Context>Context the module was loaded in.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RawModule
impl !Send for RawModule
impl !Sync for RawModule
impl !UnwindSafe for RawModule
impl Forget for RawModule
impl Freeze for RawModule
impl Move for RawModule
impl Unpin for RawModule
impl UnsafeUnpin for RawModule
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