1 2 3 4 5 6 7 8 9 10 11 12 13
/// Zero-dependency 64-bit non-cryptographic word-at-a-time hasher with SplitMix64 finalizer. #[derive(Clone, Copy, Debug)] pub(crate) struct FastHasher { /// Rolling 64-bit hash accumulator state. pub(crate) state: u64, } /// Seeded `BuildHasher` factory producing `FastHasher` instances. #[derive(Clone, Copy, Debug)] pub(crate) struct FastBuildHasher { /// Per-instance 64-bit seed mixing time and address entropy. pub(crate) seed: u64, }