pub enum PathKind {
Absolute,
Relative,
Empty,
}Expand description
Classifies a path-like input using a small lexical model.
Variants§
Absolute
The input begins with a recognized absolute prefix.
Relative
The input is non-empty and does not begin with a recognized absolute prefix.
Empty
The input is an empty string.
Trait Implementations§
impl Copy for PathKind
impl Eq for PathKind
impl StructuralPartialEq for PathKind
Auto Trait Implementations§
impl Freeze for PathKind
impl RefUnwindSafe for PathKind
impl Send for PathKind
impl Sync for PathKind
impl Unpin for PathKind
impl UnsafeUnpin for PathKind
impl UnwindSafe for PathKind
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