Module anymap::raw_hash_map

1.0.0 · source · []
Expand description

A re-export of std::collections::hash_map for raw access.

If the hashbrown feature gets enabled, this will become an export of hashbrown::hash_map.

As with RawMap, this is exposed for compatibility reasons, since features are supposed to be additive. This is imperfect, since the two modules are incompatible in a few places (e.g. hashbrown’s entry types have an extra generic parameter), but it’s close, and much too useful to give up the whole concept. A hash map implemented with quadratic probing and SIMD lookup.

Structs

DrainFilterExperimental

A draining, filtering iterator over the entries of a HashMap.

OccupiedErrorExperimental

The error returned by try_insert when the key already exists.

RawEntryBuilderExperimental

A builder for computing where in a HashMap a key-value pair would be stored.

RawEntryBuilderMutExperimental

A builder for computing where in a HashMap a key-value pair would be stored.

A view into an occupied entry in a HashMap. It is part of the RawEntryMut enum.

RawVacantEntryMutExperimental

A view into a vacant entry in a HashMap. It is part of the RawEntryMut enum.

The default Hasher used by RandomState.

A draining iterator over the entries of a HashMap.

A hash map implemented with quadratic probing and SIMD lookup.

An owning iterator over the entries of a HashMap.

An owning iterator over the keys of a HashMap.

An owning iterator over the values of a HashMap.

An iterator over the entries of a HashMap.

A mutable iterator over the entries of a HashMap.

An iterator over the keys of a HashMap.

A view into an occupied entry in a HashMap. It is part of the Entry enum.

RandomState is the default state for HashMap types.

A view into a vacant entry in a HashMap. It is part of the Entry enum.

An iterator over the values of a HashMap.

A mutable iterator over the values of a HashMap.

Enums

RawEntryMutExperimental

A view into a single entry in a map, which may either be vacant or occupied.

A view into a single entry in a map, which may either be vacant or occupied.