pub trait SettingsLoader: Sized + Serialize + Default {
    const SETTINGS_FILE: &'static str;

    fn from_str(s: &str) -> Result<Self, String>;

    fn load() -> Self { ... }
    fn is_file_exists() -> bool { ... }
    fn save(&self) { ... }
}

Required Associated Constants

Required Methods

Provided Methods

Implementors