[src]

Enum getopts::Occur

pub enum Occur {
    Req,
    Optional,
    Multi,
}

Describes how often an option may occur.

Variants

Req

The option occurs once.

Optional

The option could or not occur.

Multi

The option occurs once or multiple times.

Trait Implementations

Derived Implementations

impl Eq for Occur

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

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

impl Clone for Occur

fn clone(&self) -> Occur