pub struct LoadedPlugin {
pub nodes: Vec<(NodeDescriptor, NodeFactory)>,
pub tools: Option<Arc<dyn ToolRuntime>>,
}Expand description
What a PluginLoader produces for one plugin.
Fields§
§nodes: Vec<(NodeDescriptor, NodeFactory)>Node kinds with their factories.
tools: Option<Arc<dyn ToolRuntime>>Tools, registered under the plugin name.
Trait Implementations§
Source§impl Debug for LoadedPlugin
impl Debug for LoadedPlugin
Auto Trait Implementations§
impl !RefUnwindSafe for LoadedPlugin
impl !UnwindSafe for LoadedPlugin
impl Forget for LoadedPlugin
impl Freeze for LoadedPlugin
impl Move for LoadedPlugin
impl Send for LoadedPlugin
impl Sync for LoadedPlugin
impl Unpin for LoadedPlugin
impl UnsafeUnpin for LoadedPlugin
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