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

Hashes a u16.

Syntax

fn hash_u16<S>(val: u16, seed: S) -> <Self as Hasher>::Digest
   where S: Into<<Self as Hasher>::Seed>,

Arguments

NameDescription
val

The value to hash.

seed

The seed of the operation.