Struct rustop::Multi [] [src]

pub struct Multi<T>(pub T, pub bool);

A multi argument option.

The first argument is a collection, the second a flag whether this argument has been seen before.

Trait Implementations

impl<'a, T> CommandLineArgument for Multi<&'a mut Vec<T>> where
    T: FromStr + DefaultName + Debug,
    <T as FromStr>::Err: Error + 'static, 
[src]

[src]

Add the value from the command line string.

[src]

Return true if the argument can parsed multiple times.

[src]

Return the initial value as a string.

[src]

Return a description of a argument of this type. Read more

[src]

Called if the option has been specified without argument. Read more

[src]

Called if the argument has never been seen. Read more