pub struct CargoFeatureSelection {
pub features: BTreeSet<String>,
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.
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