pub struct LoadedPlugin<T> { /* private fields */ }Expand description
A loaded plugin.
Holds the Library handle — dropping this struct unloads the plugin. So keep it
alive for as long as anything exported by it is still in use.
Implementations§
Source§impl<T> LoadedPlugin<T>
impl<T> LoadedPlugin<T>
Auto Trait Implementations§
impl<T> !Send for LoadedPlugin<T>
impl<T> !Sync for LoadedPlugin<T>
impl<T> Freeze for LoadedPlugin<T>
impl<T> RefUnwindSafe for LoadedPlugin<T>where
*const T: RefUnwindSafe,
impl<T> Unpin for LoadedPlugin<T>
impl<T> UnsafeUnpin for LoadedPlugin<T>where
*const T: UnsafeUnpin,
impl<T> UnwindSafe for LoadedPlugin<T>where
*const T: UnwindSafe,
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