Struct ritehash::FxHasher32 [−][src]
pub struct FxHasher32 { /* fields omitted */ }
Expand description
This hashing algorithm was extracted from the Rustc compiler. This is the same hashing algorithm used for some internal operations in Firefox. The strength of this algorithm is in hashing 4 bytes at a time on any platform, where the FNV algorithm works on one byte at a time.
This hashing algorithm should not be used for cryptographic, or in scenarios where DOS attacks are a concern.
Trait Implementations
impl Clone for FxHasher32
[src]
impl Clone for FxHasher32
[src]fn clone(&self) -> FxHasher32
[src]
fn clone(&self) -> FxHasher32
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for FxHasher32
[src]
impl Debug for FxHasher32
[src]impl Default for FxHasher32
[src]
impl Default for FxHasher32
[src]fn default() -> FxHasher32
[src]
fn default() -> FxHasher32
[src]Returns the “default value” for a type. Read more
impl Hasher for FxHasher32
[src]
impl Hasher for FxHasher32
[src]fn write_usize(&mut self, i: usize)
[src]
fn write_usize(&mut self, i: usize)
[src]Writes a single usize
into this hasher.
fn write_u128(&mut self, i: u128)
1.26.0[src]
fn write_u128(&mut self, i: u128)
1.26.0[src]Writes a single u128
into this hasher.
fn write_i128(&mut self, i: i128)
1.26.0[src]
fn write_i128(&mut self, i: i128)
1.26.0[src]Writes a single i128
into this hasher.
fn write_isize(&mut self, i: isize)
1.3.0[src]
fn write_isize(&mut self, i: isize)
1.3.0[src]Writes a single isize
into this hasher.