Enum getopts::Occur [−] [src]

pub enum Occur {
    Req,
    Optional,
    Multi,
}
Unstable

: use the crates.io getopts library instead

Describes how often an option may occur.

Variants

Req
Unstable

: use the crates.io getopts library instead

The option occurs once.

Optional
Unstable

: use the crates.io getopts library instead

The option occurs at most once.

Multi
Unstable

: use the crates.io getopts library instead

The option occurs zero or more times.

Trait Implementations

Derived Implementations

impl Debug for Occur

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for Occur

impl PartialEq for Occur

fn eq(&self, __arg_0: &Occur) -> bool

fn ne(&self, __arg_0: &Occur) -> bool

impl Copy for Occur

impl Clone for Occur

fn clone(&self) -> Occur

fn clone_from(&mut self, source: &Self)