pub enum ResolverNode<'ast> {
None,
Symbol(&'ast AstSymbol),
Instruction(&'ast AstInstruction),
DataElement(&'ast AstDirectiveData, usize),
Res(&'ast AstDirectiveRes),
Align(&'ast AstDirectiveAlign),
Addr(&'ast AstDirectiveAddr),
Assert(&'ast AstDirectiveAssert),
}
Variants§
None
Symbol(&'ast AstSymbol)
Instruction(&'ast AstInstruction)
DataElement(&'ast AstDirectiveData, usize)
Res(&'ast AstDirectiveRes)
Align(&'ast AstDirectiveAlign)
Addr(&'ast AstDirectiveAddr)
Assert(&'ast AstDirectiveAssert)
Trait Implementations§
Source§impl<'ast> Clone for ResolverNode<'ast>
impl<'ast> Clone for ResolverNode<'ast>
Source§fn clone(&self) -> ResolverNode<'ast>
fn clone(&self) -> ResolverNode<'ast>
Returns a copy 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 moreAuto Trait Implementations§
impl<'ast> Freeze for ResolverNode<'ast>
impl<'ast> RefUnwindSafe for ResolverNode<'ast>
impl<'ast> !Send for ResolverNode<'ast>
impl<'ast> !Sync for ResolverNode<'ast>
impl<'ast> Unpin for ResolverNode<'ast>
impl<'ast> UnwindSafe for ResolverNode<'ast>
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