pub enum PathSegment {
Literal(String),
SystemVariable(SystemVariable),
PathVariable(PathVariable),
RemainingPathVariable(PathVariable),
}Variants§
Literal(String)
SystemVariable(SystemVariable)
PathVariable(PathVariable)
RemainingPathVariable(PathVariable)
only allowed as the last segment
Trait Implementations§
Source§impl Clone for PathSegment
impl Clone for PathSegment
Auto Trait Implementations§
impl Freeze for PathSegment
impl RefUnwindSafe for PathSegment
impl Send for PathSegment
impl Sync for PathSegment
impl Unpin for PathSegment
impl UnsafeUnpin for PathSegment
impl UnwindSafe for PathSegment
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