pub struct CargoFeatureSelection {
pub features: BTreeSet<String>,
pub all_features: bool,
pub default_features: bool,
}Expand description
Caller-selected features for one Cargo graph.
Fields§
§features: BTreeSet<String>Features to activate, ordered and deduplicated before passing to Cargo.
all_features: boolActivate every feature in the selected packages.
default_features: boolWhether Cargo activates the selected packages’ default features.
Trait Implementations§
Source§impl Clone for CargoFeatureSelection
impl Clone for CargoFeatureSelection
Source§impl Debug for CargoFeatureSelection
impl Debug for CargoFeatureSelection
Source§impl Default for CargoFeatureSelection
impl Default for CargoFeatureSelection
impl Eq for CargoFeatureSelection
Source§impl PartialEq for CargoFeatureSelection
impl PartialEq for CargoFeatureSelection
impl StructuralPartialEq for CargoFeatureSelection
Auto Trait Implementations§
impl Freeze for CargoFeatureSelection
impl RefUnwindSafe for CargoFeatureSelection
impl Send for CargoFeatureSelection
impl Sync for CargoFeatureSelection
impl Unpin for CargoFeatureSelection
impl UnsafeUnpin for CargoFeatureSelection
impl UnwindSafe for CargoFeatureSelection
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> 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.