pub struct Plugin {
pub name: String,
pub defaults: Value,
/* private fields */
}Expand description
Native Rust plugin descriptor. The explicit name replaces JavaScript’s
Function.name and provides a stable namespace for plugin options.
Fields§
§name: String§defaults: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Plugin
impl !UnwindSafe for Plugin
impl Freeze for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl UnsafeUnpin for Plugin
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