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);
}
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);
}