pub struct FbBuildHasher<const N: usize> { /* private fields */ }
Available on crate feature
map
only.Expand description
BuildHasher
optimized for hashing fixed-size byte arrays.
Works best with fxhash
, enabled by default with the “map-fxhash” feature.
NOTE: this hasher accepts only N
-length byte arrays! It is invalid to hash anything else.
Trait Implementations§
Source§impl<const N: usize> BuildHasher for FbBuildHasher<N>
impl<const N: usize> BuildHasher for FbBuildHasher<N>
Source§impl<const N: usize> Clone for FbBuildHasher<N>
impl<const N: usize> Clone for FbBuildHasher<N>
Source§fn clone(&self) -> FbBuildHasher<N>
fn clone(&self) -> FbBuildHasher<N>
Returns a copy 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 moreSource§impl<const N: usize> Debug for FbBuildHasher<N>
impl<const N: usize> Debug for FbBuildHasher<N>
Source§impl<const N: usize> Default for FbBuildHasher<N>
impl<const N: usize> Default for FbBuildHasher<N>
Source§fn default() -> FbBuildHasher<N>
fn default() -> FbBuildHasher<N>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<const N: usize> Freeze for FbBuildHasher<N>
impl<const N: usize> RefUnwindSafe for FbBuildHasher<N>
impl<const N: usize> Send for FbBuildHasher<N>
impl<const N: usize> Sync for FbBuildHasher<N>
impl<const N: usize> Unpin for FbBuildHasher<N>
impl<const N: usize> UnwindSafe for FbBuildHasher<N>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)