pub enum InstanceName<'tree> {
Name(Box<Name<'tree>>),
PrefixId(Box<PrefixId<'tree>>),
Qualified(Box<Qualified<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for InstanceName<'tree>
impl<'tree> Clone for InstanceName<'tree>
Source§fn clone(&self) -> InstanceName<'tree>
fn clone(&self) -> InstanceName<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstanceName<'tree>
impl<'tree> Debug for InstanceName<'tree>
impl<'tree> Eq for InstanceName<'tree>
Source§impl<'tree> FromNode<'tree> for InstanceName<'tree>
impl<'tree> FromNode<'tree> for InstanceName<'tree>
Source§impl<'tree> PartialEq for InstanceName<'tree>
impl<'tree> PartialEq for InstanceName<'tree>
Source§impl Spanned for InstanceName<'_>
impl Spanned for InstanceName<'_>
impl<'tree> StructuralPartialEq for InstanceName<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for InstanceName<'tree>
impl<'tree> RefUnwindSafe for InstanceName<'tree>
impl<'tree> Send for InstanceName<'tree>
impl<'tree> Sync for InstanceName<'tree>
impl<'tree> Unpin for InstanceName<'tree>
impl<'tree> UnsafeUnpin for InstanceName<'tree>
impl<'tree> UnwindSafe for InstanceName<'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