Enum getopts::HasArg [−][src]
pub enum HasArg {
Yes,
No,
Maybe,
}Describes whether an option has an argument.
Variants
YesThe option requires an argument.
NoThe option takes no argument.
MaybeThe option argument is optional.
Trait Implementations
impl Clone for HasArg[src]
impl Clone for HasArgfn clone(&self) -> HasArg[src]
fn clone(&self) -> HasArgReturns 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 HasArgimpl PartialEq for HasArg[src]
impl PartialEq for HasArgfn eq(&self, other: &HasArg) -> bool[src]
fn eq(&self, other: &HasArg) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for HasArg[src]
impl Eq for HasArg