pub enum UseAsClausePath<'tree> {
Crate(Box<Crate<'tree>>),
Identifier(Box<Identifier<'tree>>),
Metavariable(Box<Metavariable<'tree>>),
ScopedIdentifier(Box<ScopedIdentifier<'tree>>),
SelfType(Box<SelfType<'tree>>),
Super(Box<Super<'tree>>),
}Variants§
Crate(Box<Crate<'tree>>)
Identifier(Box<Identifier<'tree>>)
Metavariable(Box<Metavariable<'tree>>)
ScopedIdentifier(Box<ScopedIdentifier<'tree>>)
SelfType(Box<SelfType<'tree>>)
Super(Box<Super<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for UseAsClausePath<'tree>
impl<'tree> Clone for UseAsClausePath<'tree>
Source§fn clone(&self) -> UseAsClausePath<'tree>
fn clone(&self) -> UseAsClausePath<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for UseAsClausePath<'tree>
impl<'tree> Debug for UseAsClausePath<'tree>
Source§impl<'tree> FromNode<'tree> for UseAsClausePath<'tree>
impl<'tree> FromNode<'tree> for UseAsClausePath<'tree>
Source§impl<'tree> PartialEq for UseAsClausePath<'tree>
impl<'tree> PartialEq for UseAsClausePath<'tree>
Source§impl Spanned for UseAsClausePath<'_>
impl Spanned for UseAsClausePath<'_>
impl<'tree> Eq for UseAsClausePath<'tree>
impl<'tree> StructuralPartialEq for UseAsClausePath<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for UseAsClausePath<'tree>
impl<'tree> RefUnwindSafe for UseAsClausePath<'tree>
impl<'tree> Send for UseAsClausePath<'tree>
impl<'tree> Sync for UseAsClausePath<'tree>
impl<'tree> Unpin for UseAsClausePath<'tree>
impl<'tree> UnsafeUnpin for UseAsClausePath<'tree>
impl<'tree> UnwindSafe for UseAsClausePath<'tree>
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