Type Alias DefaultHashBuilder
pub type DefaultHashBuilder = RandomState;
Expand description
The default BuildHasher
used by HashMap
and HashSet
.
See the module documentation for more information on the default hasher.
Aliased Type§
pub struct DefaultHashBuilder { /* private fields */ }
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes
Trait Implementations
§impl BuildHasher for RandomState
impl BuildHasher for RandomState
§impl Clone for RandomState
impl Clone for RandomState
§fn clone(&self) -> RandomState
fn clone(&self) -> RandomState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for RandomState
impl Debug for RandomState
§impl Default for RandomState
impl Default for RandomState
§fn default() -> RandomState
fn default() -> RandomState
Returns the “default value” for a type. Read more