pub trait HashableElRingStore: RingStorewhere
Self::Type: HashableElRing,{
// Provided methods
fn hash<H: Hasher>(&self, el: &El<Self>, h: &mut H) { ... }
fn default_hash(&self, el: &El<Self>) -> u64 { ... }
}Expand description
RingStore for HashableElRings
Provided Methods§
Sourcefn default_hash(&self, el: &El<Self>) -> u64
fn default_hash(&self, el: &El<Self>) -> u64
Computes a hash of the given element using some default hasher.
This may not be the same in different versions of feanor-math.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.