pub enum ModulePathSegment<'a> {
Arbitrary(&'a str),
NodeModules(&'a str),
PackageName(PackageNameBorrowed<'a>),
}
Variants§
Trait Implementations§
Source§impl<'a> Debug for ModulePathSegment<'a>
impl<'a> Debug for ModulePathSegment<'a>
Source§impl<'a> PartialEq for ModulePathSegment<'a>
impl<'a> PartialEq for ModulePathSegment<'a>
impl<'a> Eq for ModulePathSegment<'a>
impl<'a> StructuralPartialEq for ModulePathSegment<'a>
Auto Trait Implementations§
impl<'a> Freeze for ModulePathSegment<'a>
impl<'a> RefUnwindSafe for ModulePathSegment<'a>
impl<'a> Send for ModulePathSegment<'a>
impl<'a> Sync for ModulePathSegment<'a>
impl<'a> Unpin for ModulePathSegment<'a>
impl<'a> UnwindSafe for ModulePathSegment<'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