macro_rules! node_ref {
($name:ident) => { ... };
}Expand description
Create a new node reference.
This is merely a wrapper around NodeId to provide a type safe
representation of a node.
ยงExample
#[macro_use]
extern crate moore_common;
node_ref!(FooRef);
node_ref!(BarRef);This creates two structs FooRef and BarRef that both wrap around a
NodeId.