Trait okvs::hashable::Hashable

source ·
pub trait Hashable: PartialEq + Debug {
    fn to_bytes(&self) -> Vec<u8>;

    fn hash_to_index(&self, seed: u64, modulus: usize) -> usize { ... }
    fn hash_to_bytes<const U64_COUNT: usize>(
        &self,
        seed: u64
    ) -> [u64; U64_COUNT] { ... } }

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§