pub struct FxBuildHasher;Expand description
An implementation of BuildHasher that produces FxHashers.
use std::hash::BuildHasher;
use rustc_hash::FxBuildHasher;
assert_ne!(FxBuildHasher.hash_one(1), FxBuildHasher.hash_one(2));Trait Implementations§
Source§impl BuildHasher for FxBuildHasher
impl BuildHasher for FxBuildHasher
Source§impl Clone for FxBuildHasher
impl Clone for FxBuildHasher
impl Copy for FxBuildHasher
Auto Trait Implementations§
impl Freeze for FxBuildHasher
impl RefUnwindSafe for FxBuildHasher
impl Send for FxBuildHasher
impl Sync for FxBuildHasher
impl Unpin for FxBuildHasher
impl UnsafeUnpin for FxBuildHasher
impl UnwindSafe for FxBuildHasher
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