pub struct PathComponent<'buf>(/* private fields */);
Expand description
A single component of a PathRef
.
Implementations§
Source§impl PathComponent<'_>
impl PathComponent<'_>
Sourcepub fn kind(&self) -> PathNodeKind
pub fn kind(&self) -> PathNodeKind
Return the kind of component this is.
Trait Implementations§
Auto Trait Implementations§
impl<'buf> Freeze for PathComponent<'buf>
impl<'buf> RefUnwindSafe for PathComponent<'buf>
impl<'buf> !Send for PathComponent<'buf>
impl<'buf> !Sync for PathComponent<'buf>
impl<'buf> Unpin for PathComponent<'buf>
impl<'buf> UnwindSafe for PathComponent<'buf>
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