Struct feature_check::defs::Config[][src]

pub struct Config {
    pub option_name: String,
    pub prefix: String,
    pub program: String,
    pub mode: Mode,
}
Expand description

Runtime configuration settings for the obtain_features function.

Fields

option_name: String

The option to pass to the program to query for supported features.

prefix: String

The prefix to look for in the lines output by the program.

program: String

The name or full path of the program to execute.

mode: Mode

The feature-check tool’s operating mode.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.