pub struct CargoConfig {
pub features: Vec<String>,
pub all_features: bool,
pub no_default_features: bool,
pub locked: bool,
}Expand description
What decides which code cargo compiles, as given on the command line.
Fields§
§features: Vec<String>§all_features: bool§no_default_features: bool§locked: boolImplementations§
Trait Implementations§
Source§impl Clone for CargoConfig
impl Clone for CargoConfig
Source§impl Debug for CargoConfig
impl Debug for CargoConfig
Source§impl Default for CargoConfig
impl Default for CargoConfig
Source§impl PartialEq for CargoConfig
impl PartialEq for CargoConfig
Source§impl Serialize for CargoConfig
impl Serialize for CargoConfig
impl StructuralPartialEq for CargoConfig
Auto Trait Implementations§
impl Forget for CargoConfig
impl Freeze for CargoConfig
impl Move for CargoConfig
impl RefUnwindSafe for CargoConfig
impl Send for CargoConfigwhere
RawVecInner: Send,
impl Sync for CargoConfigwhere
RawVecInner: Sync,
impl Unpin for CargoConfig
impl UnsafeUnpin for CargoConfig
impl UnwindSafe for CargoConfigwhere
RawVecInner: UnwindSafe,
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