pub trait CtxHash<Value: ?Sized>: CtxEq<Value, Value> {
    // Required method
    fn ctx_hash(&self, value: &Value, uf: &mut UnionFind) -> u64;
}
Expand description

Trait that allows for hashing given some external context.

Required Methods§

source

fn ctx_hash(&self, value: &Value, uf: &mut UnionFind) -> u64

Compute the hash of value, given the context in self and the union-find data structure uf.

Implementors§