pub struct InterpolatedString(/* private fields */);Expand description
A string which can be modified with key-value pairs.
Implementations§
Source§impl InterpolatedString
impl InterpolatedString
pub fn interpolate(&self, target: &TargetMap) -> Result<String>
Trait Implementations§
Source§impl Clone for InterpolatedString
impl Clone for InterpolatedString
Source§fn clone(&self) -> InterpolatedString
fn clone(&self) -> InterpolatedString
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 InterpolatedString
impl Debug for InterpolatedString
Source§impl<'de> Deserialize<'de> for InterpolatedString
impl<'de> Deserialize<'de> for InterpolatedString
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 InterpolatedString
impl PartialEq for InterpolatedString
Source§impl Serialize for InterpolatedString
impl Serialize for InterpolatedString
impl StructuralPartialEq for InterpolatedString
Auto Trait Implementations§
impl Freeze for InterpolatedString
impl RefUnwindSafe for InterpolatedString
impl Send for InterpolatedString
impl Sync for InterpolatedString
impl Unpin for InterpolatedString
impl UnwindSafe for InterpolatedString
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