pub enum ModuleName<'tree> {
Constant(Box<Constant<'tree>>),
ScopeResolution(Box<ScopeResolution<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for ModuleName<'tree>
impl<'tree> Clone for ModuleName<'tree>
Source§fn clone(&self) -> ModuleName<'tree>
fn clone(&self) -> ModuleName<'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 ModuleName<'tree>
impl<'tree> Debug for ModuleName<'tree>
Source§impl<'tree> FromNode<'tree> for ModuleName<'tree>
impl<'tree> FromNode<'tree> for ModuleName<'tree>
Source§impl<'tree> PartialEq for ModuleName<'tree>
impl<'tree> PartialEq for ModuleName<'tree>
Source§impl Spanned for ModuleName<'_>
impl Spanned for ModuleName<'_>
impl<'tree> Eq for ModuleName<'tree>
impl<'tree> StructuralPartialEq for ModuleName<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ModuleName<'tree>
impl<'tree> RefUnwindSafe for ModuleName<'tree>
impl<'tree> Send for ModuleName<'tree>
impl<'tree> Sync for ModuleName<'tree>
impl<'tree> Unpin for ModuleName<'tree>
impl<'tree> UnsafeUnpin for ModuleName<'tree>
impl<'tree> UnwindSafe for ModuleName<'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