Enum feature_check::defs::Mode[][src]

pub enum Mode {
    List,
    Single(String),
    Simple(String),
}
Expand description

The feature-check operating mode, usually “List”.

Variants

List

Obtain the list of the program’s features.

Single(String)

Tuple Fields

0: String

Obtain the value of a single feature.

Simple(String)

Tuple Fields

0: String

Evaluate a “feature op version” expression.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.