Trait polars_utils::total_ord::TotalHash
source · pub trait TotalHash {
// Required method
fn tot_hash<H>(&self, state: &mut H)
where H: Hasher;
// Provided method
fn tot_hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher,
Self: Sized { ... }
}
Expand description
Alternative trait for Hash. By consistently using this we can still be generic w.r.t Hash while being able to hash floats.
Required Methods§
Provided Methods§
fn tot_hash_slice<H>(data: &[Self], state: &mut H)
Object Safety§
This trait is not object safe.