#[non_exhaustive]pub enum TemplateFormat {
FString,
}Expand description
Template format variants.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FString
Simple {variable} substitution (default).
Trait Implementations§
Source§impl Clone for TemplateFormat
impl Clone for TemplateFormat
Source§fn clone(&self) -> TemplateFormat
fn clone(&self) -> TemplateFormat
Returns a duplicate 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 TemplateFormat
impl Debug for TemplateFormat
Source§impl Default for TemplateFormat
impl Default for TemplateFormat
Source§fn default() -> TemplateFormat
fn default() -> TemplateFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TemplateFormat
impl RefUnwindSafe for TemplateFormat
impl Send for TemplateFormat
impl Sync for TemplateFormat
impl Unpin for TemplateFormat
impl UnsafeUnpin for TemplateFormat
impl UnwindSafe for TemplateFormat
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