Enum getopts::HasArg [] [src]

pub enum HasArg {
    Yes,
    No,
    Maybe,
}
🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io getopts library instead

Describes whether an option has an argument.

Variants

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

use the crates.io getopts library instead

The option requires an argument.

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

use the crates.io getopts library instead

The option takes no argument.

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

use the crates.io getopts library instead

The option argument is optional.

Trait Implementations

impl Clone for HasArg
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for HasArg
[src]

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

impl Debug for HasArg
[src]

Formats the value using the given formatter.