Crate hash_map

Source
Expand description

A hash map implementation optimised for the Game Boy Advance.

The main structs are HashMap and HashSet.

A lot of the documentation for this module was copied straight out of the rust standard library. The implementation however is not.

Structs§

HashMap
A hash map implemented very simply using robin hood hashing.
HashSet
A HashSet is implemented as a HashMap where the value is ().
Iter
An iterator over entries of a HashMap
IterOwned
An iterator over entries of a HashMap
OccupiedEntry
A view into an occupied entry in a HashMap. This is part of the crate::Entry enum.
VacantEntry
A view into a vacant entry in a HashMap. It is part of the crate::Entry enum.

Enums§

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

Traits§

ClonableAllocator
Trait for allocators that are cloneable.