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
)