Enum getopts::HasArg[][src]

pub enum HasArg {
    Yes,
    No,
    Maybe,
}

Describes whether an option has an argument.

Variants

The option requires an argument.

The option takes no argument.

The option argument is optional.

Trait Implementations

impl Clone for HasArg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HasArg
[src]

impl PartialEq for HasArg
[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 HasArg
[src]

Auto Trait Implementations

impl Send for HasArg

impl Sync for HasArg