pub struct PluginSelection {
pub enabled: BTreeSet<PluginId>,
pub disabled: BTreeSet<PluginId>,
}Fields§
§enabled: BTreeSet<PluginId>§disabled: BTreeSet<PluginId>Implementations§
Source§impl PluginSelection
impl PluginSelection
pub fn is_enabled(&self, descriptor: &PluginDescriptor) -> bool
Trait Implementations§
Source§impl Clone for PluginSelection
impl Clone for PluginSelection
Source§fn clone(&self) -> PluginSelection
fn clone(&self) -> PluginSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginSelection
impl Debug for PluginSelection
Source§impl Default for PluginSelection
impl Default for PluginSelection
Source§fn default() -> PluginSelection
fn default() -> PluginSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginSelection
impl<'de> Deserialize<'de> for PluginSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginSelection
impl RefUnwindSafe for PluginSelection
impl Send for PluginSelection
impl Sync for PluginSelection
impl Unpin for PluginSelection
impl UnsafeUnpin for PluginSelection
impl UnwindSafe for PluginSelection
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