Trait HasherBv
Other items inhash_trie::traits
pub trait HasherBv<B, V>: Default + 'static { fn hash(&self, value: &V) -> B; }
HasherBv provides a generalization of the Hasher trait to support different word sizes for the hash values.
HasherBv
fn hash(&self, value: &V) -> B
impl<V: Default + Hash + 'static, H: Default + Hasher + 'static> HasherBv<u8, V> for H
impl<V: Default + Hash + 'static, H: Default + Hasher + 'static> HasherBv<u16, V> for H
impl<V: Default + Hash + 'static, H: Default + Hasher + 'static> HasherBv<u32, V> for H
impl<V: Default + Hash + 'static, H: Default + Hasher + 'static> HasherBv<u64, V> for H