Enum tauri_utils::config::parse::ConfigFormat
source · pub enum ConfigFormat {
Json,
Json5,
Toml,
}Expand description
The available configuration formats.
Variants§
Json
The default JSON (tauri.conf.json) format.
Json5
The JSON5 (tauri.conf.json5) format.
Toml
The TOML (Tauri.toml file) format.
Implementations§
source§impl ConfigFormat
impl ConfigFormat
sourcepub fn into_file_name(self) -> &'static str
pub fn into_file_name(self) -> &'static str
Maps the config format to its file name.
Trait Implementations§
source§impl Clone for ConfigFormat
impl Clone for ConfigFormat
source§fn clone(&self) -> ConfigFormat
fn clone(&self) -> ConfigFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more