pub enum StringInterpolationPart {
Literal(String),
Interpolation(Box<Expr>),
}Expand description
Part of a string interpolation
Variants§
Trait Implementations§
Source§impl Clone for StringInterpolationPart
impl Clone for StringInterpolationPart
Source§fn clone(&self) -> StringInterpolationPart
fn clone(&self) -> StringInterpolationPart
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 StringInterpolationPart
impl Debug for StringInterpolationPart
Source§impl PartialEq for StringInterpolationPart
impl PartialEq for StringInterpolationPart
impl StructuralPartialEq for StringInterpolationPart
Auto Trait Implementations§
impl Freeze for StringInterpolationPart
impl RefUnwindSafe for StringInterpolationPart
impl Send for StringInterpolationPart
impl Sync for StringInterpolationPart
impl Unpin for StringInterpolationPart
impl UnwindSafe for StringInterpolationPart
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