pub struct RawLibrary {
pub handle: CUlibrary,
pub context: Arc<Context>,
}Expand description
Raw ownership of a CUDA library and its lookup context.
Unload handle while context is alive, or re-adopt the value with Library::from_raw.
Fields§
§handle: CUlibraryNative library handle.
context: Arc<Context>Context used for lookups in the library.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RawLibrary
impl !Send for RawLibrary
impl !Sync for RawLibrary
impl !UnwindSafe for RawLibrary
impl Forget for RawLibrary
impl Freeze for RawLibrary
impl Move for RawLibrary
impl Unpin for RawLibrary
impl UnsafeUnpin for RawLibrary
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