Struct anyhash::BuildHasherDefault
source · pub struct BuildHasherDefault<H>(/* private fields */);
Expand description
Used to create a default BuildHasher
instance for types that implement Hasher
and Default.
Implementations§
source§impl<H> BuildHasherDefault<H>
impl<H> BuildHasherDefault<H>
Trait Implementations§
source§impl<T, H: Hasher<T> + Default> BuildHasher<T> for BuildHasherDefault<H>
impl<T, H: Hasher<T> + Default> BuildHasher<T> for BuildHasherDefault<H>
source§impl<H> BuildHasher for BuildHasherDefault<H>where
Self: BuildHasher<u64>,
impl<H> BuildHasher for BuildHasherDefault<H>where
Self: BuildHasher<u64>,
§type Hasher = WrapHasherU64ForCore<<BuildHasherDefault<H> as BuildHasher<u64>>::Hasher>
type Hasher = WrapHasherU64ForCore<<BuildHasherDefault<H> as BuildHasher<u64>>::Hasher>
Type of the hasher that will be created.
source§fn build_hasher(&self) -> Self::Hasher
fn build_hasher(&self) -> Self::Hasher
Creates a new hasher. Read more
source§impl<H> Clone for BuildHasherDefault<H>
impl<H> Clone for BuildHasherDefault<H>
source§impl<H> Debug for BuildHasherDefault<H>
impl<H> Debug for BuildHasherDefault<H>
Auto Trait Implementations§
impl<H> Freeze for BuildHasherDefault<H>
impl<H> RefUnwindSafe for BuildHasherDefault<H>
impl<H> Send for BuildHasherDefault<H>
impl<H> Sync for BuildHasherDefault<H>
impl<H> Unpin for BuildHasherDefault<H>
impl<H> UnwindSafe for BuildHasherDefault<H>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more