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
impl Eq for HasArg
[src]
impl PartialEq for HasArg
[src]
fn eq(&self, __arg_0: &HasArg) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for HasArg
[src]
impl Clone for HasArg
[src]
fn clone(&self) -> HasArg
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more