Module generational_index

Source
Expand description

A generational index implementation. A generational index is a map-a-like container, which invalidate index/key when the item is removed, even the container itself don’t have the access to that index/key.

Structs§

GenIndex
A simple generational index implementation. The data is stored in a read-only manner, Use RefCell to get mutability. Not secure, no index validity check.
GenIndexIter
GenKey
GenKey index used for generational index.