pub enum FormatStringItem {
Text(String),
Escape(char),
Format(Format),
}
Variants§
Trait Implementations§
Source§impl Clone for FormatStringItem
impl Clone for FormatStringItem
Source§fn clone(&self) -> FormatStringItem
fn clone(&self) -> FormatStringItem
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 FormatStringItem
impl Debug for FormatStringItem
Auto Trait Implementations§
impl Freeze for FormatStringItem
impl RefUnwindSafe for FormatStringItem
impl Send for FormatStringItem
impl Sync for FormatStringItem
impl Unpin for FormatStringItem
impl UnwindSafe for FormatStringItem
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