Macro gluon::record

source ·
macro_rules! record {
    ($($tt: tt)*) => { ... };
}
Expand description

Macro that creates a record that can be passed to gluon

#[macro_use]
extern crate gluon_vm;
fn main() {
    record!(x => 1, y => 2, name => "Gluon");
}