Expand description
Utility data structures and algorithms for compiler infrastructure.
This crate provides specialized collections and utilities optimized for compiler workloads, including stack-allocated containers for small data, type-safe indices, and iterator extensions.
Modules§
- assert_
display - Runtime support for
assert_display_is!macro. - data_
visulization - graphics
- Geometry types for 2D graphics and layout systems.
- iter
- small
- tracing
- A module containing tools to generate traces in the TraceEvent json format.
Macros§
- assert_
display_ is - Inline snapshot testing macro.
- svec
- Creates a
SmallVeccontaining the provided elements. - varr
- Creates a
VArraycontaining the provided elements.
Structs§
- BiMap
- Change
Guard - A smart pointer that tracks changes to a value when dropped.
- CoDomain
- Domain
- Fifo
- A fixed-capacity first-in-first-out queue with circular buffer implementation.
- Store
- A vector-like container that uses typed indices for element access.
Enums§
- Dead
OrAlive - A value that can be marked as live or erased while preserving the underlying data.
Traits§
- Dumpable
- A type that can render itself as a human-readable string for debugging.
- Store
Index - A trait for types that can be used as typed indices into a
Store.
Functions§
- n_
bits_ to_ encode - type_
name_ of_ val - Returns the type name of a value with module paths trimmed.
Type Aliases§
- FastMap
- A hash map optimized for fast hashing performance.
- FastSet
- A hash set optimized for fast hashing performance.