Skip to main content

Module index_map

Module index_map 

Source
Expand description

Contains the EntityEquivalentIndexMap type, an IndexMap pre-configured to use EntityHash hashing.

This module is a lightweight wrapper around indexmap’s IndexMap that is more performant for Entity keys.

Structs§

Drain
A draining iterator over the entries of an EntityEquivalentIndexMap.
EntityEquivalentIndexMap
A IndexMap pre-configured to use EntityHash hashing.
IntoIter
An owning iterator over the entries of an IndexMap.
IntoKeys
An owning iterator over the keys of an EntityEquivalentIndexMap.
Iter
An iterator over the entries of an EntityEquivalentIndexMap.
IterMut
A mutable iterator over the entries of an EntityEquivalentIndexMap.
Keys
An iterator over the keys of an EntityEquivalentIndexMap.
Slice
A dynamically-sized slice of key-value pairs in an EntityEquivalentIndexMap.

Enums§

Entry
Entry for an existing key-value pair in an IndexMap or a vacant location to insert one.

Type Aliases§

EntityIndexMap
An IndexMap pre-configured to use EntityHash hashing with an Entity.