Enum getopts::ParsingStyle [-] [+] [src]

pub enum ParsingStyle {
    FloatingFrees,
    StopAtFirstFree,
}

What parsing style to use when parsing arguments

Variants

FloatingFrees

Flags and "free" arguments can be freely inter-mixed.

StopAtFirstFree

As soon as a "free" argument (i.e. non-flag) is encountered, stop considering any remaining arguments as flags.

Trait Implementations

Derived Implementations

impl Eq for ParsingStyle

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ParsingStyle

fn eq(&self, __arg_0: &ParsingStyle) -> bool

fn ne(&self, __arg_0: &ParsingStyle) -> bool

impl Copy for ParsingStyle

impl Clone for ParsingStyle

fn clone(&self) -> ParsingStyle

fn clone_from(&mut self, source: &Self)