[−][src]Macro compact_arena::mk_nano_arena
Create a tiny arena. The indirection through this macro is required to bind the indices to the arena.
Examples
mk_nano_arena!(arena); let idx = arena.add(1usize); assert_eq!(1, arena[idx]);
Create a tiny arena. The indirection through this macro is required to bind the indices to the arena.
mk_nano_arena!(arena); let idx = arena.add(1usize); assert_eq!(1, arena[idx]);