HashFn

Type Alias HashFn 

Source
pub type HashFn<T> = Box<dyn Fn(&T) -> u64 + Send + Sync>;
Expand description

HashFn defines a function that can produce a u64 from an input value and is thread-safe.

Aliased Typeยง

pub struct HashFn<T>(/* private fields */);