[][src]Struct xargo_lib::Args

pub struct Args { /* fields omitted */ }

Implementations

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> where
    T: Into<String> + Clone,
    P: AsRef<Path>,
    A: IntoIterator<Item = S>,
    S: AsRef<str>, 
[src]

Create args explicitly, with other args passed unchanged to cargo invocation

pub fn from_raw<A, S>(all: A) -> Result<Self> where
    A: IntoIterator<Item = S>,
    S: AsRef<str>, 
[src]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,