Type Alias HashFn

Source
pub type HashFn = for<'mem> unsafe fn(_: PtrConst<'mem>, _: PtrMut<'mem>, _: for<'mem> unsafe fn(_: PtrMut<'mem>, _: &[u8]));
Expand description

Function to hash a value

ยงSafety

The value parameter must point to aligned, initialized memory of the correct type. The hasher pointer must be a valid pointer to a Hasher trait object.