pub enum UsePath<'a> {
Package(PackagePath<'a>),
Ident(Ident<'a>),
}
Expand description
Represents a use path in the AST.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UsePath<'a>
impl<'a> RefUnwindSafe for UsePath<'a>
impl<'a> Send for UsePath<'a>
impl<'a> Sync for UsePath<'a>
impl<'a> Unpin for UsePath<'a>
impl<'a> UnwindSafe for UsePath<'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