pub struct InterpolableUrlStaticPart<'a> {
pub value: &'a str,
pub raw: &'a str,
pub span: Span,
}Fields§
§value: &'a str§raw: &'a str§span: SpanImplementations§
§impl<'a> InterpolableUrlStaticPart<'a>
impl<'a> InterpolableUrlStaticPart<'a>
Trait Implementations§
Source§impl<'a> Debug for InterpolableUrlStaticPart<'a>
impl<'a> Debug for InterpolableUrlStaticPart<'a>
Source§impl<'a> From<(UrlTemplate<'a>, Span)> for InterpolableUrlStaticPart<'a>
impl<'a> From<(UrlTemplate<'a>, Span)> for InterpolableUrlStaticPart<'a>
Source§fn from((token, span): (UrlTemplate<'a>, Span)) -> Self
fn from((token, span): (UrlTemplate<'a>, Span)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for InterpolableUrlStaticPart<'a>
impl<'a> RefUnwindSafe for InterpolableUrlStaticPart<'a>
impl<'a> Send for InterpolableUrlStaticPart<'a>
impl<'a> Sync for InterpolableUrlStaticPart<'a>
impl<'a> Unpin for InterpolableUrlStaticPart<'a>
impl<'a> UnsafeUnpin for InterpolableUrlStaticPart<'a>
impl<'a> UnwindSafe for InterpolableUrlStaticPart<'a>
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