pub struct InstructionMacroInvocation {
pub name: String,
pub parameters: Vec<Expression>,
}Expand description
Instruction macro invocation op.
Fields§
§name: StringThe 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 duplicate 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
impl Eq for InstructionMacroInvocation
impl StructuralPartialEq for InstructionMacroInvocation
Auto Trait Implementations§
impl Freeze for InstructionMacroInvocation
impl RefUnwindSafe for InstructionMacroInvocation
impl Send for InstructionMacroInvocation
impl Sync for InstructionMacroInvocation
impl Unpin for InstructionMacroInvocation
impl UnwindSafe for InstructionMacroInvocation
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