Enum getopts::Occur [] [src]

pub enum Occur {
    Req,
    Optional,
    Multi,
}

Describes how often an option may occur.

Variants

Req

The option occurs once.

Optional

The option occurs at most once.

Multi

The option occurs zero or more times.

Trait Implementations

Derived Implementations

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)