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