pub struct FxHasher { /* 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 8 bytes at a time on 64-bit platforms,
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.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Writes a single u8
into this hasher.
Writes a single u16
into this hasher.
Writes a single u32
into this hasher.
Writes a single u64
into this hasher.
Writes a single usize
into this hasher.
Returns the hash value for the values written so far. Read more
Writes a single u128
into this hasher.
Writes a single i8
into this hasher.
Writes a single i16
into this hasher.
Writes a single i32
into this hasher.
Writes a single i64
into this hasher.
Writes a single i128
into this hasher.
Writes a single isize
into this hasher.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.