[][src]Function accumulator::hash::hash

pub fn hash<H: GeneralHasher, T: Hash + ?Sized>(
    new_hasher: &dyn Fn() -> H,
    t: &T
) -> H::Output

Hash using the general Hasher.

This function takes in the hash constructor as an argument for convenience.