Expand description
Index conversion traits for sparse containers.
Defines TrySparseIndex for types that map to usize indices with
validation, enabling enum keys, bounded integers, and other constrained
index types.
Enums§
- Numeric
Index Error - Error type for numeric index conversions that are out of bounds.
Traits§
- Sparse
Index - A trait for types that can be infallibly converted to and from indices.
- TrySparse
Index - A trait for types that can be safely converted to and from indices.