Struct hash_ord::hash_map::HashMap [] [src]

pub struct HashMap<K, V, S = RandomState> { /* fields omitted */ }

Methods

impl<K, V, S> HashMap<K, V, S>
[src]

[src]

[src]

[src]

[src]

[src]

Important traits for Keys<'a, K, V, S>
[src]

Important traits for Values<'a, K, V, S>
[src]

Important traits for ValuesMut<'a, K, V, S>
[src]

Important traits for Iter<'a, K, V, S>
[src]

impl<K, V, S> HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<K, V> HashMap<K, V, RandomState> where
    K: Hash + Ord
[src]

[src]

[src]

Trait Implementations

impl<K, V, S> Default for HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher + Default
[src]

[src]

Returns the "default value" for a type. Read more

impl<K, V, S> Drop for HashMap<K, V, S>
[src]

[src]

Executes the destructor for this type. Read more

impl<'a, K, Q: ?Sized, V, S> Index<&'a Q> for HashMap<K, V, S> where
    Q: Hash + Ord,
    K: Hash + Ord + Borrow<Q>,
    S: BuildHasher
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<K, V, S> Extend<(K, V)> for HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher
[src]

[src]

Extends a collection with the contents of an iterator. Read more

impl<'a, K, V, S> Extend<(&'a K, &'a V)> for HashMap<K, V, S> where
    K: Ord + Hash + Copy,
    V: Copy,
    S: BuildHasher
[src]

[src]

Extends a collection with the contents of an iterator. Read more

impl<'a, K, V, S> IntoIterator for &'a HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for Iter<'a, K, V, S>
[src]

Creates an iterator from a value. Read more

impl<'a, K, V, S> IntoIterator for &'a mut HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for IterMut<'a, K, V, S>
[src]

Creates an iterator from a value. Read more

impl<K, V, S> IntoIterator for HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<K, V, S> FromIterator<(K, V)> for HashMap<K, V, S> where
    K: Ord + Hash,
    S: BuildHasher + Default
[src]

[src]

Creates a value from an iterator. Read more

impl<K, V, S> Clone for HashMap<K, V, S> where
    K: Ord + Hash + Clone,
    V: Clone,
    S: BuildHasher + Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<K, V, S> PartialEq for HashMap<K, V, S> where
    K: Ord + Hash,
    V: PartialEq,
    S: BuildHasher
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<K, V, S> Eq for HashMap<K, V, S> where
    K: Ord + Hash,
    V: Eq,
    S: BuildHasher
[src]

Auto Trait Implementations

impl<K, V, S = RandomState> !Send for HashMap<K, V, S>

impl<K, V, S = RandomState> !Sync for HashMap<K, V, S>