Struct fuel_etk_asm::ops::InstructionMacroDefinition
source · pub struct InstructionMacroDefinition {
pub name: String,
pub parameters: Vec<String>,
pub contents: Vec<AbstractOp>,
}
Expand description
Instruction macro definition op fields.
Fields§
§name: String
The name that identifies the macro.
parameters: Vec<String>
The name identifiers for the macro’s parameters.
contents: Vec<AbstractOp>
The body of the macro.
Trait Implementations§
source§impl Clone for InstructionMacroDefinition
impl Clone for InstructionMacroDefinition
source§fn clone(&self) -> InstructionMacroDefinition
fn clone(&self) -> InstructionMacroDefinition
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 moresource§impl Debug for InstructionMacroDefinition
impl Debug for InstructionMacroDefinition
source§impl Default for InstructionMacroDefinition
impl Default for InstructionMacroDefinition
source§fn default() -> InstructionMacroDefinition
fn default() -> InstructionMacroDefinition
Returns the “default value” for a type. Read more
source§impl From<InstructionMacroDefinition> for AbstractOp
impl From<InstructionMacroDefinition> for AbstractOp
source§fn from(item: InstructionMacroDefinition) -> Self
fn from(item: InstructionMacroDefinition) -> Self
Converts to this type from the input type.
source§impl From<InstructionMacroDefinition> for MacroDefinition
impl From<InstructionMacroDefinition> for MacroDefinition
source§fn from(item: InstructionMacroDefinition) -> Self
fn from(item: InstructionMacroDefinition) -> Self
Converts to this type from the input type.
source§impl PartialEq<InstructionMacroDefinition> for InstructionMacroDefinition
impl PartialEq<InstructionMacroDefinition> for InstructionMacroDefinition
source§fn eq(&self, other: &InstructionMacroDefinition) -> bool
fn eq(&self, other: &InstructionMacroDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.