Trait arg::Args[][src]

pub trait Args: Sized {
    const HELP: &'static str;

    fn from_args<'a, T: IntoIterator<Item = &'a str>>(
        args: T
    ) -> Result<Self, ParseError<'a>>; fn from_text<'a>(text: &'a str) -> Result<Self, ParseError<'a>> { ... } }
Expand description

Describers command line argument parser

Associated Constants

Help message for parser.

Required methods

Parses arguments from iterator of strings

Provided methods

Parses arguments from string, which gets tokenized and passed to from.

Implementors