Struct gong::ShortOption
[−]
[src]
pub struct ShortOption { pub ch: char, pub expects_data: bool, }
Description of an available short option
Fields
ch: char
Short option character
expects_data: bool
Whether option expects a data argument
Trait Implementations
impl Debug for ShortOption
[src]
impl Clone for ShortOption
[src]
fn clone(&self) -> ShortOption
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ShortOption
[src]
fn eq(&self, __arg_0: &ShortOption) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ShortOption) -> bool
[src]
This method tests for !=
.