pub struct RuntimePluginConfig { /* private fields */ }Implementations§
Source§impl RuntimePluginConfig
impl RuntimePluginConfig
pub fn enabled_plugins(&self) -> &BTreeMap<String, bool>
pub fn external_directories(&self) -> &[String]
pub fn install_root(&self) -> Option<&str>
pub fn registry_path(&self) -> Option<&str>
pub fn bundled_root(&self) -> Option<&str>
pub fn set_plugin_state(&mut self, plugin_id: String, enabled: bool)
pub fn state_for(&self, plugin_id: &str, default_enabled: bool) -> bool
Trait Implementations§
Source§impl Clone for RuntimePluginConfig
impl Clone for RuntimePluginConfig
Source§fn clone(&self) -> RuntimePluginConfig
fn clone(&self) -> RuntimePluginConfig
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 moreSource§impl Debug for RuntimePluginConfig
impl Debug for RuntimePluginConfig
Source§impl Default for RuntimePluginConfig
impl Default for RuntimePluginConfig
Source§fn default() -> RuntimePluginConfig
fn default() -> RuntimePluginConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for RuntimePluginConfig
impl PartialEq for RuntimePluginConfig
impl Eq for RuntimePluginConfig
impl StructuralPartialEq for RuntimePluginConfig
Auto Trait Implementations§
impl Freeze for RuntimePluginConfig
impl RefUnwindSafe for RuntimePluginConfig
impl Send for RuntimePluginConfig
impl Sync for RuntimePluginConfig
impl Unpin for RuntimePluginConfig
impl UnsafeUnpin for RuntimePluginConfig
impl UnwindSafe for RuntimePluginConfig
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