Crate id_map [] [src]

A container that gives each item a unique id. Adding and removing by index is O(1).

Structs

IdMap

A container that gives each item a unique id. Internally all elements are stored contiguously.

Ids

An iterator over all ids, in increasing order.

IntoIter

A consuming iterator over id-value pairs, in order of increasing id.

Iter

An iterator over id-value pairs, in order of increasing id.

IterMut

A mutable iterator over id-value pairs, in order of increasing id.

Values

An iterator over all values, in order of increasing id.

ValuesMut

A mutable iterator over all values, in order of increasing id.

Type Definitions

Id

The element type of the set.