Expand description
Re-exports§
pub use hash_map::HashMap;
Modules§
- hash_
map - A hash map without
Drop
, that usesFxHasher
to hash keys, and stores data in arena allocator.
Macros§
Structs§
- Address
- Memory address of an AST node in arena.
- Allocator
- A bump-allocated memory arena.
- Allocator
Guard - A guard object representing exclusive access to an
Allocator
from the pool. - Allocator
Pool - A thread-safe pool for reusing
Allocator
instances to reduce allocation overhead. - Box
- A
Box
withoutDrop
, which stores its data in the arena allocator. - String
Builder - String builder.
- Vec
- A
Vec
withoutDrop
, which stores its data in the arena allocator.
Traits§
- Allocator
Accessor - Accessor for getting the underlying allocator.
- CloneIn
- A trait to explicitly clone an object into an arena allocator.
- Dummy
- A trait to create a dummy AST node.
- FromIn
- This trait works similarly to the standard library
From
trait. - GetAddress
- Trait for getting the memory address of an AST node.
- IntoIn
- This trait works similarly to the standard library
Into
trait. It is similar toFromIn
is reflective, AFromIn
implementation also implicitly implementsIntoIn
for the opposite type. - TakeIn
- A trait to replace an existing AST node with a dummy.