pub enum InterpolatedPart {
Literal(String),
Binding(BindingExpr),
}Expand description
Part of an interpolated string
Variants§
Literal(String)
Binding(BindingExpr)
Trait Implementations§
Source§impl Clone for InterpolatedPart
impl Clone for InterpolatedPart
Source§fn clone(&self) -> InterpolatedPart
fn clone(&self) -> InterpolatedPart
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 InterpolatedPart
impl Debug for InterpolatedPart
Source§impl Default for InterpolatedPart
impl Default for InterpolatedPart
Source§impl<'de> Deserialize<'de> for InterpolatedPart
impl<'de> Deserialize<'de> for InterpolatedPart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InterpolatedPart
impl PartialEq for InterpolatedPart
Source§impl Serialize for InterpolatedPart
impl Serialize for InterpolatedPart
impl StructuralPartialEq for InterpolatedPart
Auto Trait Implementations§
impl Freeze for InterpolatedPart
impl RefUnwindSafe for InterpolatedPart
impl Send for InterpolatedPart
impl Sync for InterpolatedPart
impl Unpin for InterpolatedPart
impl UnwindSafe for InterpolatedPart
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