pub struct InterpolableUrlStaticPart<'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 InterpolableUrlStaticPart<'s>
impl<'s> Clone for InterpolableUrlStaticPart<'s>
Source§fn clone(&self) -> InterpolableUrlStaticPart<'s>
fn clone(&self) -> InterpolableUrlStaticPart<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterpolableUrlStaticPart<'s>
impl<'s> Debug for InterpolableUrlStaticPart<'s>
Source§impl<'s> From<(UrlTemplate<'s>, Span)> for InterpolableUrlStaticPart<'s>
impl<'s> From<(UrlTemplate<'s>, Span)> for InterpolableUrlStaticPart<'s>
Source§fn from((token, span): (UrlTemplate<'s>, Span)) -> Self
fn from((token, span): (UrlTemplate<'s>, Span)) -> Self
Converts to this type from the input type.
Source§impl<'s> PartialEq for InterpolableUrlStaticPart<'s>
impl<'s> PartialEq for InterpolableUrlStaticPart<'s>
Source§fn eq(&self, other: &InterpolableUrlStaticPart<'s>) -> bool
fn eq(&self, other: &InterpolableUrlStaticPart<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for InterpolableUrlStaticPart<'s>
Auto Trait Implementations§
impl<'s> Freeze for InterpolableUrlStaticPart<'s>
impl<'s> RefUnwindSafe for InterpolableUrlStaticPart<'s>
impl<'s> Send for InterpolableUrlStaticPart<'s>
impl<'s> Sync for InterpolableUrlStaticPart<'s>
impl<'s> Unpin for InterpolableUrlStaticPart<'s>
impl<'s> UnsafeUnpin for InterpolableUrlStaticPart<'s>
impl<'s> UnwindSafe for InterpolableUrlStaticPart<'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