pub enum AsmElement {
Label(Label),
Instruction(Instruction),
Directive(Directive),
Operand(Operand),
Declaration(Declaration),
}Variants§
Label(Label)
Instruction(Instruction)
Directive(Directive)
Operand(Operand)
Declaration(Declaration)
Trait Implementations§
Source§impl Clone for AsmElement
impl Clone for AsmElement
Source§fn clone(&self) -> AsmElement
fn clone(&self) -> AsmElement
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 Debug for AsmElement
impl Debug for AsmElement
Source§impl Display for AsmElement
impl Display for AsmElement
Source§impl PartialEq for AsmElement
impl PartialEq for AsmElement
Source§fn eq(&self, other: &AsmElement) -> bool
fn eq(&self, other: &AsmElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AsmElement
Auto Trait Implementations§
impl Freeze for AsmElement
impl RefUnwindSafe for AsmElement
impl Send for AsmElement
impl Sync for AsmElement
impl Unpin for AsmElement
impl UnsafeUnpin for AsmElement
impl UnwindSafe for AsmElement
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