Struct app::Args
[−]
[src]
pub struct Args<'app> { /* fields omitted */ }
Args
Methods
impl<'app> Args<'app>
[src]
fn new<'s: 'app, V>(name: &'app str, value: V) -> Self where
V: ArgsValueParse<'app>,
[src]
V: ArgsValueParse<'app>,
fn len<L: Into<usize>>(self, len: L) -> Self
[src]
fn optional(self) -> Self
[src]
set Args
s optional as true
(default is false
)(override ArgsValueParse
's default
and check
).
fn help(self, help: &'app str) -> Self
[src]
help message