pub struct InterpolableIdentStaticPart<'s> {
pub value: Cow<'s, str>,
pub raw: &'s str,
pub span: Span,
}Fields§
§value: Cow<'s, str>§raw: &'s str§span: SpanTrait Implementations§
Source§impl<'s> Clone for InterpolableIdentStaticPart<'s>
impl<'s> Clone for InterpolableIdentStaticPart<'s>
Source§fn clone(&self) -> InterpolableIdentStaticPart<'s>
fn clone(&self) -> InterpolableIdentStaticPart<'s>
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<'s> Debug for InterpolableIdentStaticPart<'s>
impl<'s> Debug for InterpolableIdentStaticPart<'s>
Source§impl<'s> PartialEq for InterpolableIdentStaticPart<'s>
impl<'s> PartialEq for InterpolableIdentStaticPart<'s>
Source§fn eq(&self, other: &InterpolableIdentStaticPart<'s>) -> bool
fn eq(&self, other: &InterpolableIdentStaticPart<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for InterpolableIdentStaticPart<'s>
Auto Trait Implementations§
impl<'s> Freeze for InterpolableIdentStaticPart<'s>
impl<'s> RefUnwindSafe for InterpolableIdentStaticPart<'s>
impl<'s> Send for InterpolableIdentStaticPart<'s>
impl<'s> Sync for InterpolableIdentStaticPart<'s>
impl<'s> Unpin for InterpolableIdentStaticPart<'s>
impl<'s> UnwindSafe for InterpolableIdentStaticPart<'s>
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