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