pub enum RawOp {
Op(AbstractOp),
Raw(Vec<u8>),
}Expand description
An item to be assembled, which can be either an AbstractOp or a raw byte
sequence.
Variants§
Op(AbstractOp)
An instruction to be assembled.
Raw(Vec<u8>)
Raw bytes, for example from %include_hex, to be included verbatim in
the output.
Trait Implementations§
Source§impl From<AbstractOp> for RawOp
impl From<AbstractOp> for RawOp
Source§fn from(op: AbstractOp) -> Self
fn from(op: AbstractOp) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawOp
impl RefUnwindSafe for RawOp
impl Send for RawOp
impl Sync for RawOp
impl Unpin for RawOp
impl UnwindSafe for RawOp
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