Expand description
Provides new-type wrappers for collections that are indexed by a Idx rather
than usize.
Inspired by rustc_index.
Structs§
- Frozen
Index Vec - A structurally immutable sequence of
Tindexed byI. - Index
Slice - A view into contiguous
Ts, indexed byIrather than byusize. - Index
Vec - An owned sequence of
Tindexed byI
Traits§
- Idx
- Represents a newtype wrapper used to index into a Vec or a slice.
Attribute Macros§
- newtype_
index - Derives a newtype wrapper that can be used as an index.
The wrapper can represent indices up to
u32::MAX - 1.