Enum abscissa::options::Opt [−][src]
Represents an option parsed from a Parser
Variants
Short(char)
Short option, e.g. -o
Long(&'a str)
Long option, e.g. --option
LongWithArg(&'a str, &'a str)
Long option with argument, e.g. --option=value
Free(&'a str)
Free argument
Trait Implementations
impl<'a> Copy for Opt<'a>
[src]
impl<'a> Copy for Opt<'a>
impl<'a> Clone for Opt<'a>
[src]
impl<'a> Clone for Opt<'a>
fn clone(&self) -> Opt<'a>
[src]
fn clone(&self) -> Opt<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for Opt<'a>
[src]
impl<'a> Debug for Opt<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Eq for Opt<'a>
[src]
impl<'a> Eq for Opt<'a>
impl<'a> PartialEq for Opt<'a>
[src]
impl<'a> PartialEq for Opt<'a>
fn eq(&self, other: &Opt<'a>) -> bool
[src]
fn eq(&self, other: &Opt<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Opt<'a>) -> bool
[src]
fn ne(&self, other: &Opt<'a>) -> bool
This method tests for !=
.
impl<'a> ToString for Opt<'a>
[src]
impl<'a> ToString for Opt<'a>