Trait method lrs::hash::Hash::hash_slice

Returns the hash of a slice of objects.

Syntax

fn hash_slice<H, S>(val: &[Self], seed: S) -> <H as Hasher>::Digest
   where H: Hasher,
         S: Into<<H as Hasher>::Seed>,

Arguments

NameDescription
val

The objects to hash.

seed

A seed for the hasher.