Crate ordermap

source ·
Expand description

OrderMap is a hash table where the iteration order of the key-value pairs is independent of the hash values of the keys.

Re-exports

Modules

Macros

  • Call self.method(args) with ::<u32> or ::<u64> depending on self size class.
  • Create an OrderMap from a list of key-value pairs
  • Create an OrderSet from a list of values
  • probe_loop 🔒

Structs

Enums

  • Entry for an existing key-value pair or a vacant location to insert one.
  • Inserted 🔒

Traits

  • Key equivalence trait.
  • Opt-in mutable access to keys.
  • Size 🔒
    Trait for the “size class”. Either u32 or u64 depending on the index size needed to address an entry’s indes in self.entries.

Functions