pub struct PluginModule {
pub manifest: PluginManifest,
pub create: Arc<dyn Fn(Option<Value>) -> Value + Send + Sync>,
}Fields§
§manifest: PluginManifest§create: Arc<dyn Fn(Option<Value>) -> Value + Send + Sync>Trait Implementations§
Source§impl Clone for PluginModule
impl Clone for PluginModule
Source§fn clone(&self) -> PluginModule
fn clone(&self) -> PluginModule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginModule
impl !RefUnwindSafe for PluginModule
impl Send for PluginModule
impl Sync for PluginModule
impl Unpin for PluginModule
impl UnsafeUnpin for PluginModule
impl !UnwindSafe for PluginModule
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