pub enum StringPart {
Literal(Box<str>),
Expr(Expr),
}Expand description
A segment of an interpolated string.
Variants§
Trait Implementations§
Source§impl Clone for StringPart
impl Clone for StringPart
Source§impl Debug for StringPart
impl Debug for StringPart
Auto Trait Implementations§
impl Freeze for StringPart
impl RefUnwindSafe for StringPart
impl Send for StringPart
impl Sync for StringPart
impl Unpin for StringPart
impl UnsafeUnpin for StringPart
impl UnwindSafe for StringPart
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