Foundation Arena.
This crate provides an alternative to the [typed_arena
] crate that does
not use the heap. Instead, the [Arena
] type statically allocates
memory at compile-time by passing the N
type parameter.
Examples
use Arena;
let arena: = new;
let one: &mut u32 = arena.alloc.unwrap;
let two: &mut u32 = arena.alloc.unwrap;
println!;