pub enum PathToken<'input> {
Identifier(Cow<'input, str>),
Segment(String),
Slash,
LeftCurly,
RightCurly,
}
Variants§
Identifier(Cow<'input, str>)
Variable identifier.
Segment(String)
Potentially escaped segment.
Slash
LeftCurly
RightCurly
Trait Implementations§
impl<'input> StructuralPartialEq for PathToken<'input>
Auto Trait Implementations§
impl<'input> Freeze for PathToken<'input>
impl<'input> RefUnwindSafe for PathToken<'input>
impl<'input> Send for PathToken<'input>
impl<'input> Sync for PathToken<'input>
impl<'input> Unpin for PathToken<'input>
impl<'input> UnwindSafe for PathToken<'input>
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