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

Represents the text of the item to be put into the .config

Provided Methods

Sets the configuration through a configuration text from a .config. By default, this does nothing, for example, menu items are not configured, they are static.

Implementors

Implements the read and write to and from a dot configuration file from or to the configuration item

Implements the read and write to and from a dot configuration file from or to the configuration item

Implements the read and write to and from a dot configuration file from or to the configuration item

file from or to the configuration item

Implements the read and write to and from a dot configuration file from or to the configuration item