Module index_map

Module index_map 

Source
Expand description

A vector with custom index types.

This data-structure is mostly meant to be used with the index types defined with crate::generate_index_type!: by using custom index types, we leverage the type checker to prevent us from mixing them.

Structsยง

IndexMap
Non-contiguous indexed vector. To prevent accidental id reuse, the vector supports reserving a slot to be filled later. Use IndexVec if this is not needed.