pub enum Enabler {
Target,
Default,
Requires(ProfileName),
Feature {
profile: ProfileName,
feature: FeatureName,
},
}Expand description
Who turned a feature on.
Variants§
Target
The target, in the layer’s features.
Default
The profile’s default list.
Requires(ProfileName)
A profile that requires it, in its [requires] entry.
Feature
A feature: of a profile that requires it, or of the profile itself.
Trait Implementations§
impl Eq for Enabler
Source§impl Ord for Enabler
impl Ord for Enabler
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Enabler
impl PartialOrd for Enabler
impl StructuralPartialEq for Enabler
Auto Trait Implementations§
impl Freeze for Enabler
impl RefUnwindSafe for Enabler
impl Send for Enabler
impl Sync for Enabler
impl Unpin for Enabler
impl UnsafeUnpin for Enabler
impl UnwindSafe for Enabler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.