Macro runtime_value

Source
macro_rules! runtime_value {
    (
    $struct:ident,
    { $(pub $x:ident: $y:ty),* },
    $($t:tt)*
  ) => { ... };
}
Expand description

Defines a RuntimeValue

use interpreter::{runtime_value, rtval_name};

runtime_value! {
  MyPackage,
  {  },
  rtval_name! { "📦 MyPackage" }
}