Struct getopts::OptGroup [] [src]

pub struct OptGroup {
    pub short_name: String,
    pub long_name: String,
    pub hint: String,
    pub desc: String,
    pub hasarg: HasArg,
    pub occur: Occur,
}
🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io getopts library instead

One group of options, e.g., both -h and --help, along with their shared description and properties.

Fields

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

use the crates.io getopts library instead

Short name of the option, e.g. h for a -h option

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

use the crates.io getopts library instead

Long name of the option, e.g. help for a --help option

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

use the crates.io getopts library instead

Hint for argument, e.g. FILE for a -o FILE option

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

use the crates.io getopts library instead

Description for usage help text

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

use the crates.io getopts library instead

Whether option has an argument

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

use the crates.io getopts library instead

How often it can occur

Methods

impl OptGroup
[src]

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

use the crates.io getopts library instead

Translate OptGroup into Opt. (Both short and long names correspond to different Opts).

Trait Implementations

impl Clone for OptGroup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OptGroup
[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 OptGroup
[src]

impl Debug for OptGroup
[src]

Formats the value using the given formatter.