Enum getopts::Occur [−][src]
pub enum Occur {
Req,
Optional,
Multi,
}Describes how often an option may occur.
Variants
ReqThe option occurs once.
OptionalThe option occurs at most once.
MultiThe option occurs zero or more times.
Trait Implementations
impl Clone for Occur[src]
impl Clone for Occurfn clone(&self) -> Occur[src]
fn clone(&self) -> OccurReturns 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 Occur[src]
impl Copy for Occurimpl PartialEq for Occur[src]
impl PartialEq for Occurfn eq(&self, other: &Occur) -> bool[src]
fn eq(&self, other: &Occur) -> 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 Occur[src]
impl Eq for Occur