fn new(specs: &'a Specs, args: Peekable<I>) -> ValueIterator<'a, 'b, I> {
        ValueIterator {
            specs: specs,
            args: args,
            finished_named_flags: false,
            positional_specs: specs
                .iter()
                .filter_map(|s| match s.is_positional() {
                    false => None,
                    true => Some(PositionalFlagSpec {
                        name: s.get_name().to_owned(),
                        is_variadic: s.is_variadic(),
                    }),
                })
                .rev()
                .collect(),
        }
    }
/// Initializes a new ValueIterator over the given command-line argument
/// Iterator, which is ready to start parsing flags.
Initializes a new ValueIterator over the given command-line argument
Iterator, which is ready to start parsing flags.
Initializes a new ValueIterator over the given command - line argument Iterator which is ready to start parsing flags .
fn new(specs: &'a Specs, args: Peekable<I>) -> ValueIterator<'a, 'b, I> {
        ValueIterator {
            specs: specs,
            args: args,
            finished_named_flags: false,
            positional_specs: specs
                .iter()
                .filter_map(|s| match s.is_positional() {
                    false => None,
                    true => Some(PositionalFlagSpec {
                        name: s.get_name().to_owned(),
                        is_variadic: s.is_variadic(),
                    }),
                })
                .rev()
                .collect(),
        }
    }
fn new ( specs : & ' a Specs , args : Peekable < I > ) -> ValueIterator < ' a , ' b , I > { ValueIterator { specs : specs , args : args , finished_named_flags : false , positional_specs : specs . iter ( ) . filter_map ( | s | match s . is_positional ( ) { false => None , true => Some ( PositionalFlagSpec { name : s . get_name ( ) . to_owned ( ) , is_variadic : s . is_variadic ( ) , } ) , } ) . rev ( ) . collect ( ) , } }
Initializes a new ValueIterator over the given command-line argument
Iterator, which is ready to start parsing flags.
Initializes a new ValueIterator over the given command - line argument Iterator which is ready to start parsing flags .
specs
&'a Specs
args
Peekable<I>
specs
&'a Specs
args
Peekable<I>