Crate dense_map

Source
Expand description

A densely packed map.

Defines the DenseMap data structure: A generic mapped container keyed by an internally managed pool of identifiers kept densely packed.

Modules§

collection
A collection of DenseMaps.

Structs§

DenseMap
A generic container for T keyed by densely packed integers.
InsertionOrderedIter
An iterator over the keys and values stored in an DenseMap.
IntoKeyOrderedIter
An iterator over the keys and values stored in an DenseMap.
KeyOrderedIter
An iterator over the keys and values stored in an DenseMap.
KeyOrderedIterMut
An iterator over the keys and mutable values stored in an DenseMap.
OccupiedEntry
A view into an occupied entry in a map. It is part of the Entry enum.
VacantEntry
A view into a vacant entry in a map. It is part of the Entry enum.

Enums§

Entry
A view into an in-place entry in a map that can be vacant or occupied.

Traits§

EntryKey
A key providing an index into an DenseMap.

Type Aliases§

Key
DenseMaps use usizes for keys.