Enum getopts::Occur [] [src]

pub enum Occur {
    Req,
    Optional,
    Multi,
}

Describes how often an option may occur.

Variants

The option occurs once.

The option occurs at most once.

The option occurs zero or more times.

Trait Implementations

impl Clone for Occur
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Occur
[src]

impl PartialEq for Occur
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Occur
[src]

Auto Trait Implementations

impl Send for Occur

impl Sync for Occur