Struct spirit::Empty[][src]

pub struct Empty {}

A struct that may be used when either configuration or command line options are not needed.

When the application doesn't need the configuration (in excess of the automatic part provided by this library) or it doesn't need any command line options of its own, this struct can be used to plug the type parameter.

Trait Implementations

impl Copy for Empty
[src]

impl Clone for Empty
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Empty
[src]

Formats the value using the given formatter. Read more

impl Default for Empty
[src]

Returns the "default value" for a type. Read more

impl Eq for Empty
[src]

impl PartialEq for Empty
[src]

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

This method tests for !=.

impl Hash for Empty
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Ord for Empty
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for Empty
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl StructOpt for Empty
[src]

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

impl Send for Empty

impl Sync for Empty