pub trait NodeHashs {
    type Hash: PrimInt;
    type Kind: Default + HashKind;

    // Required methods
    fn hash(&self, kind: &Self::Kind) -> Self::Hash;
    fn acc(&mut self, other: &Self);
}

Required Associated Types§

source

type Hash: PrimInt

source

type Kind: Default + HashKind

the Default value is the most discriminating one

Required Methods§

source

fn hash(&self, kind: &Self::Kind) -> Self::Hash

source

fn acc(&mut self, other: &Self)

Implementors§