Enum gong::options::OptionsMode [−][src]
pub enum OptionsMode { Standard, Alternate, }
Used to assert which option processing mode to use
Variants
Standard
Standard (default): Short (-o
) and long (--foo
) options, with single and double dash
prefixes respectively.
Alternate
Alternate: Long options only, with single dash prefix.
Trait Implementations
impl Debug for OptionsMode
[src]
impl Debug for OptionsMode
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 Clone for OptionsMode
[src]
impl Clone for OptionsMode
fn clone(&self) -> OptionsMode
[src]
fn clone(&self) -> OptionsMode
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 Copy for OptionsMode
[src]
impl Copy for OptionsMode
impl PartialEq for OptionsMode
[src]
impl PartialEq for OptionsMode
fn eq(&self, other: &OptionsMode) -> bool
[src]
fn eq(&self, other: &OptionsMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for OptionsMode
[src]
impl Eq for OptionsMode
impl Default for OptionsMode
[src]
impl Default for OptionsMode
Auto Trait Implementations
impl Send for OptionsMode
impl Send for OptionsMode
impl Sync for OptionsMode
impl Sync for OptionsMode