pub struct PluginManager { /* private fields */ }
Implementations§
Source§impl PluginManager
impl PluginManager
pub fn create() -> Self
pub fn load_plugin_from_file(&mut self, path: &str)
pub fn load_plugin(&mut self, plugin: Box<dyn Plugin>)
pub fn unload_plugin(&mut self, name: &str)
Auto Trait Implementations§
impl Freeze for PluginManager
impl !RefUnwindSafe for PluginManager
impl Send for PluginManager
impl Sync for PluginManager
impl Unpin for PluginManager
impl !UnwindSafe for PluginManager
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