[−][src]Struct xargo_lib::Args
Methods
impl Args
[src]
pub fn new<T, P, A, S>(
target: Option<T>,
manifest_path: Option<P>,
verbosity: Option<Verbosity>,
other_args: A
) -> Result<Self, String> where
T: Into<String> + Clone,
P: AsRef<Path>,
A: IntoIterator<Item = S>,
S: AsRef<str>,
[src]
target: Option<T>,
manifest_path: Option<P>,
verbosity: Option<Verbosity>,
other_args: A
) -> Result<Self, String> where
T: Into<String> + Clone,
P: AsRef<Path>,
A: IntoIterator<Item = S>,
S: AsRef<str>,
Create args explicitly, with other args passed unchanged to cargo invocation
pub fn from_raw<A, S>(all: A) -> Result<Self, String> where
A: IntoIterator<Item = S>,
S: AsRef<str>,
[src]
A: IntoIterator<Item = S>,
S: AsRef<str>,
Parse raw args from command line
pub fn all(&self) -> &[String]
[src]
pub fn target(&self) -> Option<&str>
[src]
pub fn manifest_path(&self) -> Option<&Path>
[src]
pub fn quiet(&self) -> bool
[src]
pub fn verbose(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,