Struct gong::ShortOption [] [src]

pub struct ShortOption {
    pub ch: char,
    pub expects_data: bool,
}

Description of an available short option

Fields

Short option character

Whether option expects a data argument

Trait Implementations

impl Debug for ShortOption
[src]

[src]

Formats the value using the given formatter.

impl Clone for ShortOption
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ShortOption
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ShortOption
[src]