Trait kconfig_represent::Config
source · [−]pub trait Config: MenuItem + DotConfig + Display + Debug + StringValue {
fn prompt(&self) -> String;
fn mutation_mode(&self) -> ConfigMutationMode { ... }
fn next_step(&mut self) -> Result<(), Error> { ... }
fn select(&mut self, _flag: Option<Tristate>) { ... }
fn imply(&mut self, _flag: Option<Tristate>) { ... }
fn value_is_default(&self) -> bool { ... }
}Expand description
Represents a configuration item
Required Methods
Provided Methods
fn mutation_mode(&self) -> ConfigMutationMode
Selects the item by the value of another item, given the value of that item.
Implies the item by the value of another item, given the value of that item.
fn value_is_default(&self) -> bool
fn value_is_default(&self) -> bool
If the default value matches the actual value, this function results in a truth value.