pub enum FormatStringPart {
Text(String),
Expression(Box<Expression>),
}Variants§
Text(String)
Expression(Box<Expression>)
Trait Implementations§
Source§impl Clone for FormatStringPart
impl Clone for FormatStringPart
Source§fn clone(&self) -> FormatStringPart
fn clone(&self) -> FormatStringPart
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 FormatStringPart
impl Debug for FormatStringPart
Source§impl PartialEq for FormatStringPart
impl PartialEq for FormatStringPart
impl StructuralPartialEq for FormatStringPart
Auto Trait Implementations§
impl Freeze for FormatStringPart
impl !RefUnwindSafe for FormatStringPart
impl !Send for FormatStringPart
impl !Sync for FormatStringPart
impl Unpin for FormatStringPart
impl UnsafeUnpin for FormatStringPart
impl !UnwindSafe for FormatStringPart
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