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: &Target) -> Result<String>
Trait Implementations§
source§impl Clone for InterpolatedString
impl Clone for InterpolatedString
source§fn clone(&self) -> InterpolatedString
fn clone(&self) -> InterpolatedString
Returns a copy of the value. Read more
1.6.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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)