Trait kconfig_represent::DotConfig
source · [−]pub trait DotConfig {
fn as_dot_config(&self) -> String;
fn from_dot_config(&mut self, _s: &str) -> Result<(), String> { ... }
}Expand description
Represents a configurable item from a .config file
Required Methods
fn as_dot_config(&self) -> String
fn as_dot_config(&self) -> String
Represents the text of the item to be put into the .config
Provided Methods
Implementors
impl DotConfig for Menu
impl DotConfig for ConfigItem<bool>
Implements the read and write to and from a dot configuration file from or to the configuration item
impl DotConfig for ConfigItem<i64>
Implements the read and write to and from a dot configuration file from or to the configuration item
impl DotConfig for ConfigItem<String>
Implements the read and write to and from a dot configuration file from or to the configuration item
impl DotConfig for ConfigItem<Hex>
file from or to the configuration item
impl DotConfig for ConfigItem<Tristate>
Implements the read and write to and from a dot configuration file from or to the configuration item