pub struct JsPluginConfig {
pub path: String,
pub enabled: bool,
}Expand description
Configuration for a JavaScript plugin.
Fields§
§path: StringPath to the JavaScript file.
enabled: boolWhether the plugin is enabled.
Trait Implementations§
Source§impl Clone for JsPluginConfig
impl Clone for JsPluginConfig
Source§fn clone(&self) -> JsPluginConfig
fn clone(&self) -> JsPluginConfig
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 JsPluginConfig
impl RefUnwindSafe for JsPluginConfig
impl Send for JsPluginConfig
impl Sync for JsPluginConfig
impl Unpin for JsPluginConfig
impl UnwindSafe for JsPluginConfig
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