Enum gong::options::OptionsMode
source · pub enum OptionsMode {
Standard,
Alternate,
}
Expand description
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§
source§impl Clone for OptionsMode
impl Clone for OptionsMode
source§fn clone(&self) -> OptionsMode
fn clone(&self) -> OptionsMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more