pub struct Args { /* private fields */ }Implementations§
Source§impl Args
impl Args
Sourcepub fn new<T, P, A, S>(
target: Option<T>,
manifest_path: Option<P>,
verbosity: Option<Verbosity>,
other_args: A,
) -> Result<Self>
pub fn new<T, P, A, S>( target: Option<T>, manifest_path: Option<P>, verbosity: Option<Verbosity>, other_args: A, ) -> Result<Self>
Create args explicitly, with other args passed unchanged to cargo invocation
pub fn all(&self) -> &[String]
pub fn target(&self) -> Option<&str>
pub fn manifest_path(&self) -> Option<&Path>
pub fn quiet(&self) -> bool
pub fn verbose(&self) -> bool
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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