Module std::collections::hash_map
[−]
[src]
Reexports
use core::prelude::v1::*; |
use self::Entry::*; |
use self::SearchResult::*; |
use self::VacantEntryState::*; |
use borrow::Borrow; |
use clone::Clone; |
use cmp::{max, Eq, PartialEq}; |
use default::Default; |
use fmt::{self, Debug}; |
use hash::{Hash, SipHasher}; |
use iter::{self, Iterator, ExactSizeIterator, IntoIterator, FromIterator, Extend, Map}; |
use marker::Sized; |
use mem::{self, replace}; |
use ops::{Deref, FnMut, FnOnce, Index}; |
use option::Option::{self, Some, None}; |
use rand::{Rng, SeedableRng}; |
use self::raw_table::{Bucket, EmptyBucket, FullBucket, FullBucketImm, FullBucketMut, RawTable, SafeHash}; |
use self::raw_table::BucketState::{Empty, Full}; |
use super::hash_state::HashState; |
Modules
| raw_table |
Structs
| DefaultResizePolicy |
The default behavior of HashMap implements a load factor of 90.9%. This behavior is characterized by the following condition: |
| Drain |
HashMap drain iterator. |
| HashMap |
A hash map implementation which uses linear probing with Robin Hood bucket stealing. |
| IntoIter |
HashMap move iterator. |
| Iter |
HashMap iterator. |
| IterMut |
HashMap mutable values iterator. |
| Keys |
HashMap keys iterator. |
| OccupiedEntry |
A view into a single occupied location in a HashMap. |
| RandomState |
|
| VacantEntry |
A view into a single empty location in a HashMap. |
| Values |
HashMap values iterator. |
Enums
| Entry |
A view into a single location in a map, which may be vacant or occupied. |
| SearchResult |
A result that works like Option |
| VacantEntryState |
Possible states of a VacantEntry. |
Constants
| INITIAL_CAPACITY | |
| INITIAL_LOG2_CAP |
Traits
| Recover |
Functions
| pop_internal | |
| robin_hood |
Perform robin hood bucket stealing at the given |
| search_entry_hashed | |
| search_hashed |
Search for a pre-hashed key. |