Enum getopts::Name
[−]
[src]
pub enum Name { Long(String), Short(char), }
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
Name of an option. Either a string or a single char.
Variants
Long(String)
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
A string representing the long name of an option. For example: "help"
Short(char)
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
A char representing the short name of an option. For example: 'h'
Trait Implementations
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
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 !=
.