Type Alias fnv::FnvBuildHasher

source ·
pub type FnvBuildHasher = BuildHasherDefault<FnvHasher>;
Expand description

A builder for default FNV hashers.

Aliased Type§

struct FnvBuildHasher(/* private fields */);

Implementations

source§

impl<H> BuildHasherDefault<H>

source

pub const fn new() -> BuildHasherDefault<H>

🔬This is a nightly-only experimental API. (build_hasher_default_const_new)

Creates a new BuildHasherDefault for Hasher H.

Trait Implementations

1.7.0 · source§

impl<H> BuildHasher for BuildHasherDefault<H>
where H: Default + Hasher,

§

type Hasher = H

Type of the hasher that will be created.
source§

fn build_hasher(&self) -> H

Creates a new hasher. Read more
1.7.0 · source§

impl<H> Clone for BuildHasherDefault<H>

source§

fn clone(&self) -> BuildHasherDefault<H>

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
1.9.0 · source§

impl<H> Debug for BuildHasherDefault<H>

source§

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

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

impl<H> Default for BuildHasherDefault<H>

source§

fn default() -> BuildHasherDefault<H>

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

impl<H> PartialEq for BuildHasherDefault<H>

source§

fn eq(&self, _other: &BuildHasherDefault<H>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.29.0 · source§

impl<H> Eq for BuildHasherDefault<H>