Enum getopts::HasArg [] [src]

pub enum HasArg {
    Yes,
    No,
    Maybe,
}

Describes whether an option has an argument.

Variants

Yes

The option requires an argument.

No

The option takes no argument.

Maybe

The option argument is optional.

Trait Implementations

Derived Implementations

impl Eq for HasArg

impl PartialEq for HasArg

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

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

impl Copy for HasArg

impl Clone for HasArg

fn clone(&self) -> HasArg

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