pub trait WithHashs {
    type HK: HashKind;
    type HP: PrimInt + PartialEq + Eq;

    // Required method
    fn hash(&self, kind: &Self::HK) -> Self::HP;
}

Required Associated Types§

Required Methods§

source

fn hash(&self, kind: &Self::HK) -> Self::HP

Implementors§

source§

impl<'a, T> WithHashs for hyper_ast::store::nodes::fetched::HashedNodeRef<'a, T>

source§

impl<'a, T> WithHashs for hyper_ast::store::nodes::legion::HashedNodeRef<'a, T>

source§

impl<H: Hash + PrimInt, U: NodeHashs<Hash = H>, N, L, T> WithHashs for HashedCompressedNode<U, N, L, T>

§

type HK = <U as NodeHashs>::Kind

§

type HP = H