pub trait PluginRegistrar {
// Required methods
fn register_plugin(&mut self, plugin: Box<Arc<dyn Plugin>>);
fn context(&self) -> Arc<dyn PluginContext + Send + Sync>;
}
Expand description
Contains the registration
Required Methods§
Sourcefn register_plugin(&mut self, plugin: Box<Arc<dyn Plugin>>)
fn register_plugin(&mut self, plugin: Box<Arc<dyn Plugin>>)
Registers the given plugin with the given name in the core application.