Expand description
Type-safe u32-indexed vector utilities for Miden
This module provides utilities for working with u32-indexed vectors in a type-safe manner,
including the IndexVec type and related functionality.
Macros§
- newtype_
id - Macro to create a newtyped ID that implements Idx.
Structs§
- Dense
IdMap - A dense mapping from ID to ID.
- Index
Vec - A dense vector indexed by ID types.
Enums§
- Indexed
VecError - Error returned when too many items are added to an IndexedVec.
Traits§
- Idx
- A trait for u32-backed, 0-based IDs.
- Lookup
ByIdx - A trait for looking up values by ID.
- Lookup
ByKey - A trait for looking up values by key that doesn’t need to implement Idx.