pub struct CargoCommand<'a> { /* private fields */ }
Implementations§
source§impl<'a> CargoCommand<'a>
impl<'a> CargoCommand<'a>
pub fn new(subcommand: &'a str) -> Self
pub fn with_verbose(self, verbose: bool) -> Self
pub fn with_package(self, package: Option<&'a str>) -> Self
pub fn with_manifest_path(self, manifest_path: Option<PathBuf>) -> Self
pub fn with_target(self, target: Option<&'a str>) -> Self
pub fn with_no_default_features(self, no_default_features: bool) -> Self
pub fn with_features(self, features: Option<&'a [String]>) -> Self
pub fn with_args(self, args: Option<&'a [String]>) -> Self
pub fn with_release(self, release: bool) -> Self
pub fn build(self, env: &impl ExplicitEnv) -> Expression
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CargoCommand<'a>
impl<'a> RefUnwindSafe for CargoCommand<'a>
impl<'a> Send for CargoCommand<'a>
impl<'a> Sync for CargoCommand<'a>
impl<'a> Unpin for CargoCommand<'a>
impl<'a> UnwindSafe for CargoCommand<'a>
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