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