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 moresource§impl Debug for ConfigFormat
impl Debug for ConfigFormat
impl Copy for ConfigFormat
Auto Trait Implementations§
impl Freeze for ConfigFormat
impl RefUnwindSafe for ConfigFormat
impl Send for ConfigFormat
impl Sync for ConfigFormat
impl Unpin for ConfigFormat
impl UnwindSafe for ConfigFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)