Enum getopts::HasArg
[−]
[src]
pub enum HasArg {
Yes,
No,
Maybe,
}Unstable (
rustc_private): use the crates.io getopts library instead
Describes whether an option has an argument.
Variants
YesUnstable (
rustc_private): use the crates.io getopts library instead
The option requires an argument.
NoUnstable (
rustc_private): use the crates.io getopts library instead
The option takes no argument.
MaybeUnstable (
rustc_private): use the crates.io getopts library instead
The option argument is optional.
Trait Implementations
Derived Implementations
impl Debug for HasArg[src]
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) -> bool1.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