Module slotmap

Source

Structsยง

Slot ๐Ÿ”’
SlotMap
A contigious data structure that never shrinks, but keeps track of lazily deleted elements so that when a new item is inserted, the lazily deleted place is reused. Insertion, removal, and update are all of O(1) time complexity. Inserted elements can be (mutably) accessed or removed with the key returned when they were inserted. Note: might make a slot permanently unusable per u64::MAX insert calls during runtime.
SlotMapKey

Enumsยง

SlotContent ๐Ÿ”’