pub trait ComputableNodeHashs: NodeHashs {
    // Required methods
    fn prepare<T: ?Sized + Hash>(t: &T) -> Self::Hash;
    fn compute(
        &self,
        kind: &Self::Kind,
        k: Self::Hash,
        l: Self::Hash,
        size: Self::Hash
    ) -> Self::Hash;
}

Required Methods§

source

fn prepare<T: ?Sized + Hash>(t: &T) -> Self::Hash

source

fn compute( &self, kind: &Self::Kind, k: Self::Hash, l: Self::Hash, size: Self::Hash ) -> Self::Hash

Implementors§