Trait method lrs::hash::Hasher::hash

Hashes a value with this hasher.

Syntax

fn hash<T, S>(val: &T, seed: S) -> <Self as Hasher>::Digest
   where S: Into<<Self as Hasher>::Seed>,
         T: Hash + ?Sized,

Arguments

NameDescription
val

The value to hash.

seed

The seed of the operation.