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

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io getopts library instead

Name of the option

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io getopts library instead

Whether it has an argument

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io getopts library instead

How often it can occur

🔬 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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Opt
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Opt
[src]

impl Debug for Opt
[src]

Formats the value using the given formatter.