Enum getopts::HasArg [−] [src]

pub enum HasArg {
    Yes,
    No,
    Maybe,
}
Unstable

: use the crates.io getopts library instead

Describes whether an option has an argument.

Variants

Yes
Unstable

: use the crates.io getopts library instead

The option requires an argument.

No
Unstable

: use the crates.io getopts library instead

The option takes no argument.

Maybe
Unstable

: use the crates.io getopts library instead

The option argument is optional.

Trait Implementations

Derived Implementations

impl Debug for HasArg

fn fmt(&self, __arg_0: &mut Formatter) -> Result

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)