hashbrown

Type Alias DefaultHashBuilder

source
pub type DefaultHashBuilder = RandomState;
Expand description

Default hasher for HashMap and HashSet.

Aliased Type§

struct DefaultHashBuilder { /* private fields */ }

Trait Implementations

source§

impl BuildHasher for RandomState

source§

type Hasher = FoldHasher

Type of the hasher that will be created.
source§

fn build_hasher(&self) -> FoldHasher

Creates a new hasher. Read more
1.71.0 · source§

fn hash_one<T>(&self, x: T) -> u64
where T: Hash, Self: Sized, Self::Hasher: Hasher,

Calculates the hash of a single value. Read more
source§

impl Clone for RandomState

source§

fn clone(&self) -> RandomState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RandomState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for RandomState

source§

fn default() -> RandomState

Returns the “default value” for a type. Read more
source§

impl Copy for RandomState