pub enum UseDeclarationArgument<'tree> {
Crate(Box<Crate<'tree>>),
Identifier(Box<Identifier<'tree>>),
Metavariable(Box<Metavariable<'tree>>),
ScopedIdentifier(Box<ScopedIdentifier<'tree>>),
ScopedUseList(Box<ScopedUseList<'tree>>),
SelfType(Box<SelfType<'tree>>),
Super(Box<Super<'tree>>),
UseAsClause(Box<UseAsClause<'tree>>),
UseList(Box<UseList<'tree>>),
UseWildcard(Box<UseWildcard<'tree>>),
}Variants§
Crate(Box<Crate<'tree>>)
Identifier(Box<Identifier<'tree>>)
Metavariable(Box<Metavariable<'tree>>)
ScopedIdentifier(Box<ScopedIdentifier<'tree>>)
ScopedUseList(Box<ScopedUseList<'tree>>)
SelfType(Box<SelfType<'tree>>)
Super(Box<Super<'tree>>)
UseAsClause(Box<UseAsClause<'tree>>)
UseList(Box<UseList<'tree>>)
UseWildcard(Box<UseWildcard<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for UseDeclarationArgument<'tree>
impl<'tree> Clone for UseDeclarationArgument<'tree>
Source§fn clone(&self) -> UseDeclarationArgument<'tree>
fn clone(&self) -> UseDeclarationArgument<'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 UseDeclarationArgument<'tree>
impl<'tree> Debug for UseDeclarationArgument<'tree>
Source§impl<'tree> FromNode<'tree> for UseDeclarationArgument<'tree>
impl<'tree> FromNode<'tree> for UseDeclarationArgument<'tree>
Source§impl<'tree> PartialEq for UseDeclarationArgument<'tree>
impl<'tree> PartialEq for UseDeclarationArgument<'tree>
Source§fn eq(&self, other: &UseDeclarationArgument<'tree>) -> bool
fn eq(&self, other: &UseDeclarationArgument<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for UseDeclarationArgument<'_>
impl Spanned for UseDeclarationArgument<'_>
impl<'tree> Eq for UseDeclarationArgument<'tree>
impl<'tree> StructuralPartialEq for UseDeclarationArgument<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for UseDeclarationArgument<'tree>
impl<'tree> RefUnwindSafe for UseDeclarationArgument<'tree>
impl<'tree> Send for UseDeclarationArgument<'tree>
impl<'tree> Sync for UseDeclarationArgument<'tree>
impl<'tree> Unpin for UseDeclarationArgument<'tree>
impl<'tree> UnsafeUnpin for UseDeclarationArgument<'tree>
impl<'tree> UnwindSafe for UseDeclarationArgument<'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