Enum rustop::OptName
[−]
[src]
pub enum OptName { Short(char), Long(String), Both(char, String), Parameter(String), }
The name of an option or parameter.
This describes an option as it is shown in the help message or error messages.
Variants
Short(char)
A short option.
Long(String)
A long option.
Both(char, String)
Both, a short and a long option.
Parameter(String)
A parameter.
Trait Implementations
impl Clone for OptName
[src]
fn clone(&self) -> OptName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for OptName
[src]
fn eq(&self, __arg_0: &OptName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OptName) -> bool
This method tests for !=
.