pub enum Component<'a> {
RootDir,
CurDir,
ParentDir,
Normal(&'a str),
}
Variants§
Trait Implementations§
source§impl<'a> PartialEq<Component<'a>> for Component<'a>
impl<'a> PartialEq<Component<'a>> for Component<'a>
impl<'a> Eq for Component<'a>
impl<'a> StructuralEq for Component<'a>
impl<'a> StructuralPartialEq for Component<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> Send for Component<'a>
impl<'a> Sync for Component<'a>
impl<'a> Unpin for Component<'a>
impl<'a> UnwindSafe for Component<'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