pub struct PluginConstructor<S, F>(pub fn() -> BoxPlugin<S, F>);Tuple Fields§
§0: fn() -> BoxPlugin<S, F>Implementations§
Source§impl PluginConstructor<ChannelSpec, Factory>
impl PluginConstructor<ChannelSpec, Factory>
pub fn plugins() -> Result<Vec<BoxChannelPlugin>, PluginError>
Source§impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<LeafContext>) -> Result<Box<dyn Behavior>, Error>>, NodeReconstructionData<LeafContext>, Box<dyn Behavior>>>
impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<LeafContext>) -> Result<Box<dyn Behavior>, Error>>, NodeReconstructionData<LeafContext>, Box<dyn Behavior>>>
pub fn plugins() -> Result<Vec<BoxActionPlugin>, PluginError>
Source§impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<LeafContext>) -> Result<Box<dyn Behavior>, Error>>, NodeReconstructionData<LeafContext>, Box<dyn Behavior>>>
impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<LeafContext>) -> Result<Box<dyn Behavior>, Error>>, NodeReconstructionData<LeafContext>, Box<dyn Behavior>>>
pub fn plugins() -> Result<Vec<BoxConditionPlugin>, PluginError>
Source§impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<ControlContext>) -> Result<Box<dyn Node>, Error>>, NodeReconstructionData<ControlContext>, Box<dyn Node>>>
impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<ControlContext>) -> Result<Box<dyn Node>, Error>>, NodeReconstructionData<ControlContext>, Box<dyn Node>>>
pub fn plugins() -> Result<Vec<BoxControlPlugin>, PluginError>
Source§impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<DecoratorContext>) -> Result<Box<dyn Node>, Error>>, NodeReconstructionData<DecoratorContext>, Box<dyn Node>>>
impl PluginConstructor<NodeSpec, Factory<Box<dyn Fn(NodeReconstructionData<DecoratorContext>) -> Result<Box<dyn Node>, Error>>, NodeReconstructionData<DecoratorContext>, Box<dyn Node>>>
pub fn plugins() -> Result<Vec<BoxDecoratorPlugin>, PluginError>
Auto Trait Implementations§
impl<S, F> Freeze for PluginConstructor<S, F>
impl<S, F> RefUnwindSafe for PluginConstructor<S, F>
impl<S, F> Send for PluginConstructor<S, F>
impl<S, F> Sync for PluginConstructor<S, F>
impl<S, F> Unpin for PluginConstructor<S, F>
impl<S, F> UnsafeUnpin for PluginConstructor<S, F>
impl<S, F> UnwindSafe for PluginConstructor<S, F>
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