Struct gong::LongOption
[−]
[src]
pub struct LongOption<'a> { pub name: &'a str, pub expects_data: bool, }
Description of an available long option
Fields
name: &'a str
Long option name, excluding the --
prefix
expects_data: bool
Whether option expects a data argument
Trait Implementations
impl<'a> Debug for LongOption<'a>
[src]
impl<'a> Clone for LongOption<'a>
[src]
fn clone(&self) -> LongOption<'a>
[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<'a> PartialEq for LongOption<'a>
[src]
fn eq(&self, __arg_0: &LongOption<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LongOption<'a>) -> bool
[src]
This method tests for !=
.