Struct fuel_etk_asm::ops::InstructionMacroInvocation
source · pub struct InstructionMacroInvocation {
pub name: String,
pub parameters: Vec<Expression>,
}
Expand description
Instruction macro invocation op.
Fields§
§name: String
The name of the macro being invoked.
parameters: Vec<Expression>
The parameters that are being passed into the invocation.
Implementations§
source§impl InstructionMacroInvocation
impl InstructionMacroInvocation
sourcepub fn with_zero_parameters(name: String) -> Self
pub fn with_zero_parameters(name: String) -> Self
Construct an instruction macro invocation with zero parameters.
Trait Implementations§
source§impl Clone for InstructionMacroInvocation
impl Clone for InstructionMacroInvocation
source§fn clone(&self) -> InstructionMacroInvocation
fn clone(&self) -> InstructionMacroInvocation
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 InstructionMacroInvocation
impl Debug for InstructionMacroInvocation
source§impl Display for InstructionMacroInvocation
impl Display for InstructionMacroInvocation
source§impl PartialEq<InstructionMacroInvocation> for InstructionMacroInvocation
impl PartialEq<InstructionMacroInvocation> for InstructionMacroInvocation
source§fn eq(&self, other: &InstructionMacroInvocation) -> bool
fn eq(&self, other: &InstructionMacroInvocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.