Crate rustc_arena[−][src]
Expand description
The arena, a fast but limited type of allocator.
Arenas are a type of allocator that destroy the objects within, all at once, once the arena itself is destroyed. They do not support deallocation of individual objects while the arena itself is still alive. The benefit of an arena is very fast allocation; just a pointer bump.
This crate implements several kinds of arena.
Modules
Functionality for ordering and comparison.
Basic functions for dealing with memory.
Manually manage memory through raw pointers.
A dynamically-sized view into a contiguous sequence, [T].
Macros
Structs
An arena that can hold objects of multiple different types that impl Copy
and/or satisfy !mem::needs_drop.
A Vec-like container that can store a small number of elements inline.
An arena that can hold objects of only one type.
A mutable memory location.
Layout of a block of memory.
Zero-sized type used to mark things that “act like” they own a T.
A mutable memory location with dynamically checked borrow rules
Constants
Traits
Functions
Unions
A wrapper type to construct uninitialized instances of T.