Struct ahash::AHasher [−][src]
pub struct AHasher { /* fields omitted */ }Expand description
A Hasher for hashing an arbitrary stream of bytes.
Instances of AHasher represent state that is updated while hashing data.
Each method updates the internal state based on the new data provided. Once
all of the data has been provided, the resulting hash can be obtained by calling
finish()
Clone is also provided in case you wish to calculate hashes for two different items that start with the same data.
Implementations
Creates a new hasher keyed to the provided key.
Trait Implementations
Provides methods to hash all of the primitive types.
Writes a single u128 into this hasher.
Writes a single usize into this hasher.
Writes a single i128 into this hasher.
Writes a single isize into this hasher.