Struct cargo::ops::PackageOpts
source · [−]pub struct PackageOpts<'cfg> {
pub config: &'cfg Config,
pub list: bool,
pub check_metadata: bool,
pub allow_dirty: bool,
pub verify: bool,
pub jobs: Option<u32>,
pub targets: Vec<String>,
pub features: Vec<String>,
pub all_features: bool,
pub no_default_features: bool,
}
Fields
config: &'cfg Config
list: bool
check_metadata: bool
allow_dirty: bool
verify: bool
jobs: Option<u32>
targets: Vec<String>
features: Vec<String>
all_features: bool
no_default_features: bool
Auto Trait Implementations
impl<'cfg> !RefUnwindSafe for PackageOpts<'cfg>
impl<'cfg> !Send for PackageOpts<'cfg>
impl<'cfg> !Sync for PackageOpts<'cfg>
impl<'cfg> Unpin for PackageOpts<'cfg>
impl<'cfg> !UnwindSafe for PackageOpts<'cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more