Enum getopts::Occur
[−]
[src]
pub enum Occur {
Req,
Optional,
Multi,
}Unstable (
rustc_private): use the crates.io getopts library instead
Describes how often an option may occur.
Variants
ReqUnstable (
rustc_private): use the crates.io getopts library instead
The option occurs once.
OptionalUnstable (
rustc_private): use the crates.io getopts library instead
The option occurs at most once.
MultiUnstable (
rustc_private): use the crates.io getopts library instead
The option occurs zero or more times.
Trait Implementations
Derived Implementations
impl Debug for Occur[src]
impl Eq for Occur[src]
impl PartialEq for Occur[src]
fn eq(&self, __arg_0: &Occur) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for Occur[src]
impl Clone for Occur[src]
fn clone(&self) -> Occur
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