๐ฌThis is a nightly-only experimental API. (
proc_macro_internals)Expand description
A minimal arena allocator inspired by rustc_arena::DroplessArena.
This is unfortunately a minimal re-implementation rather than a dependency
as it is difficult to depend on crates from within proc_macro, due to it
being built at the same time as std.
Re-exportsยง
use std::cell::Cell;๐use std::cell::RefCell;๐use std::mem::MaybeUninit;๐use std::ops::Range;๐use std::cmp;๐use std::ptr;๐use std::slice;๐
Structsยง
- Arena ๐
Experimental - A minimal arena allocator inspired by
rustc_arena::DroplessArena.