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