Struct hash32::BuildHasherDefault
source · [−]pub struct BuildHasherDefault<H> { /* private fields */ }
Expand description
A copy of core::hash::BuildHasherDefault
, but with a const constructor.
This will eventually be deprecated once the version in core
becomes const-constructible
(presumably using const Default
).
Implementations
sourceimpl<H> BuildHasherDefault<H>
impl<H> BuildHasherDefault<H>
Trait Implementations
sourceimpl<H> BuildHasher for BuildHasherDefault<H> where
H: Default + Hasher,
impl<H> BuildHasher for BuildHasherDefault<H> where
H: Default + Hasher,
type Hasher = H
type Hasher = H
Type of the hasher that will be created.
sourcefn build_hasher(&self) -> Self::Hasher
fn build_hasher(&self) -> Self::Hasher
Creates a new hasher. Read more
sourceimpl<H> Clone for BuildHasherDefault<H>
impl<H> Clone for BuildHasherDefault<H>
sourceimpl<H> Debug for BuildHasherDefault<H>
impl<H> Debug for BuildHasherDefault<H>
sourceimpl<H> Default for BuildHasherDefault<H>
impl<H> Default for BuildHasherDefault<H>
sourceimpl<H> PartialEq<BuildHasherDefault<H>> for BuildHasherDefault<H>
impl<H> PartialEq<BuildHasherDefault<H>> for BuildHasherDefault<H>
impl<H> Eq for BuildHasherDefault<H>
Auto Trait Implementations
impl<H> RefUnwindSafe for BuildHasherDefault<H> where
H: RefUnwindSafe,
impl<H> Send for BuildHasherDefault<H> where
H: Send,
impl<H> Sync for BuildHasherDefault<H> where
H: Sync,
impl<H> Unpin for BuildHasherDefault<H> where
H: Unpin,
impl<H> UnwindSafe for BuildHasherDefault<H> where
H: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more