pub struct ExpressionMacroDefinition {
pub name: String,
pub parameters: Vec<String>,
pub content: Imm,
}Expand description
Expression macro definition op fields.
Fields§
§name: StringThe name that identifies the macro.
parameters: Vec<String>The name identifiers for the macro’s parameters.
content: ImmThe 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 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 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.
impl Eq for ExpressionMacroDefinition
impl StructuralPartialEq for ExpressionMacroDefinition
Auto Trait Implementations§
impl Freeze for ExpressionMacroDefinition
impl RefUnwindSafe for ExpressionMacroDefinition
impl Send for ExpressionMacroDefinition
impl Sync for ExpressionMacroDefinition
impl Unpin for ExpressionMacroDefinition
impl UnwindSafe for ExpressionMacroDefinition
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