pub enum Macro {
Builtin(Transfer, String),
Library(String, Program),
}Expand description
Macro types that can be called by the interpreter
Variants§
Builtin(Transfer, String)
A function written in the implementation language
Library(String, Program)
Parameter name with a sequence of statements that are inserted into the program when called
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Macro
impl RefUnwindSafe for Macro
impl !Send for Macro
impl !Sync for Macro
impl Unpin for Macro
impl UnwindSafe for Macro
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