pub enum PluginSource {
BuiltIn,
Native(String),
JavaScript(String),
}Expand description
Source of a loaded plugin.
Variants§
BuiltIn
Built-in (compiled with the runtime).
Native(String)
Native dynamic library.
JavaScript(String)
JavaScript file.
Auto Trait Implementations§
impl Freeze for PluginSource
impl RefUnwindSafe for PluginSource
impl Send for PluginSource
impl Sync for PluginSource
impl Unpin for PluginSource
impl UnwindSafe for PluginSource
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