pub type BooleanConfigOption<'a> = ConfigOption<'a, Boolean>;
Expand description

Config values are represented as a boolean. No default is used.

Aliased Type§

struct BooleanConfigOption<'a> {
    pub name: &'a str,
    pub default: (),
    pub description: &'a str,
    pub deprecated: bool,
}

Fields§

§name: &'a str

The name of the ConfigOption.

§default: ()

The default value of the ConfigOption

§description: &'a str§deprecated: bool

Implementations§

source§

impl<'a> BooleanConfigOption<'a>

source

pub const fn new_bool_no_default(name: &'a str, description: &'a str) -> Self