Enum argonaut::OptName [] [src]

pub enum OptName<T: Borrow<str>> {
    Long(T),
    LongAndShort(T, char),
}

The name of an optional argument.

Variants

--help.

--help | -h.

Methods

impl<T: Borrow<str>> OptName<T>
[src]

The 'long' component of the name.

Trait Implementations

impl<T: Debug + Borrow<str>> Debug for OptName<T>
[src]

Formats the value using the given formatter.

impl<T: Clone + Borrow<str>> Clone for OptName<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more