pub trait TupleHash: TupleEq {
// Required method
fn tuple_hash<H: Hasher>(&self, state: &mut H);
}Expand description
A trait for hashing tuples with a generic hasher.
Part of the tuplities crate.
Required Methods§
Sourcefn tuple_hash<H: Hasher>(&self, state: &mut H)
fn tuple_hash<H: Hasher>(&self, state: &mut H)
Hashes the tuple into the given hasher.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".