Enum rustop::OptName [] [src]

pub enum OptName {
    Short(char),
    Long(String),
    Both(charString),
    Parameter(String),
}

The name of an option or parameter.

This describes an option as it is shown in the help message or error messages.

Variants

A short option.

A long option.

Both, a short and a long option.

A parameter.

Trait Implementations

impl Clone for OptName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Debug for OptName
[src]

Formats the value using the given formatter.

impl Display for OptName
[src]

Formats the value using the given formatter. Read more