Module rustc_arena_modified::typed_arena
source · Structs
- Iterates all elements in an arena, and if Shared, can handle new elements being allocated during iteration.
- Iterates pointers to all elements in the arena, and (if shared) can handle new elements being allocated during iteration.
- An arena that can hold objects of only one type.
RM
determines whether the references returned from allocation are mutable and whether iteration requires a mutable reference; either mutating returned references or iterating via immutable reference are possible, but not both.
Enums
Traits
- An iterable which can be allocated faster into the arena than the default IntoIterator implementation, using TypedArenaGen::alloc_raw_slice.
- Whether references to allocated objects are mutable, and iteration requires a mutable reference.
Type Definitions
- Iterates all elements in an arena, and can handle new elements being allocated during iteration.
- Iterates all elements in an arena.
- An arena that can hold objects of only one type, allocations return shared references, and can iterate behind a shared reference
- An arena that can hold objects of only one type, allocations return mutable references, and can only iterate behind a mutable reference