Struct getopts::Opt
[−]
[src]
pub struct Opt { pub name: Name, pub hasarg: HasArg, pub occur: Occur, pub aliases: Vec<Opt>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
A description of a possible option.
Fields
name: Name
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
Name of the option
hasarg: HasArg
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
Whether it has an argument
occur: Occur
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
How often it can occur
aliases: Vec<Opt>
🔬 This is a nightly-only experimental API. (rustc_private
)
use the crates.io getopts
library instead
Which options it aliases
Trait Implementations
impl Clone for Opt
[src]
fn clone(&self) -> Opt
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 Opt
[src]
fn eq(&self, __arg_0: &Opt) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Opt) -> bool
This method tests for !=
.