Enum fuel_etk_asm::asm::RawOp
source · 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.