Trait arg::Args

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

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

Describers command line argument parser

Required 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§