Macro gluon_vm::record_no_decl [−][src]
macro_rules! record_no_decl {
($($tt : tt) *) => { ... };
}
Expand description
Macro that creates a record that can be passed to gluon. Reuses already declared fields instead of generating unique ones.
#[macro_use]
extern crate gluon_vm;
field_decl! {x, y, name}
fn main() {
record_no_decl!(x => 1, y => 2, name => "Gluon");
}