pub struct PluginContext {
pub manifest: AppManifest,
pub data: Mutex<HashMap<String, Value>>,
}Expand description
Context passed to plugins on init.
Fields§
§manifest: AppManifest§data: Mutex<HashMap<String, Value>>Implementations§
Auto Trait Implementations§
impl !Freeze for PluginContext
impl RefUnwindSafe for PluginContext
impl Send for PluginContext
impl Sync for PluginContext
impl Unpin for PluginContext
impl UnsafeUnpin for PluginContext
impl UnwindSafe for PluginContext
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