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
sourceimpl 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
sourceimpl Clone for ConfigFormat
impl Clone for ConfigFormat
sourcefn clone(&self) -> ConfigFormat
fn clone(&self) -> ConfigFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ConfigFormat
impl Debug for ConfigFormat
impl Copy for ConfigFormat
Auto Trait Implementations
impl RefUnwindSafe for ConfigFormat
impl Send for ConfigFormat
impl Sync for ConfigFormat
impl Unpin for ConfigFormat
impl UnwindSafe for ConfigFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more