Enum cargo_metadata::CargoOpt
source · pub enum CargoOpt {
AllFeatures,
NoDefaultFeatures,
SomeFeatures(Vec<String>),
}
Expand description
Cargo features flags
Variants§
AllFeatures
Run cargo with --features-all
NoDefaultFeatures
Run cargo with --no-default-features
SomeFeatures(Vec<String>)
Run cargo with --features <FEATURES>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CargoOpt
impl Send for CargoOpt
impl Sync for CargoOpt
impl Unpin for CargoOpt
impl UnwindSafe for CargoOpt
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