Enum getopts::Name
[−]
[src]
pub enum Name {
Long(String),
Short(char),
}Unstable (
rustc_private): use the crates.io getopts library instead
Name of an option. Either a string or a single char.
Variants
Long(String)Unstable (
rustc_private): use the crates.io getopts library instead
A string representing the long name of an option. For example: "help"
Short(char)Unstable (
rustc_private): use the crates.io getopts library instead
A char representing the short name of an option. For example: 'h'
Trait Implementations
Derived Implementations
impl Debug for Name[src]
impl Eq for Name[src]
impl PartialEq for Name[src]
fn eq(&self, __arg_0: &Name) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Name) -> bool
This method tests for !=.
impl Clone for Name[src]
fn clone(&self) -> Name
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