pub struct FeatureExplanation {
pub package: String,
pub feature: String,
pub enabled: bool,
pub implies: Vec<String>,
pub is_default: bool,
}Expand description
Explain a feature’s enablement: declared, enabled, what it implies, and which root pulled it in if any.
Fields§
§package: String§feature: String§enabled: bool§implies: Vec<String>Other features this feature implies, in declaration order.
is_default: boolWhether this feature is a member of the package’s
default group.
Trait Implementations§
Source§impl Clone for FeatureExplanation
impl Clone for FeatureExplanation
Source§fn clone(&self) -> FeatureExplanation
fn clone(&self) -> FeatureExplanation
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 FeatureExplanation
impl Debug for FeatureExplanation
Auto Trait Implementations§
impl Freeze for FeatureExplanation
impl RefUnwindSafe for FeatureExplanation
impl Send for FeatureExplanation
impl Sync for FeatureExplanation
impl Unpin for FeatureExplanation
impl UnsafeUnpin for FeatureExplanation
impl UnwindSafe for FeatureExplanation
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