Trait forest_hash_utils::Hash
source · pub trait Hash {
// Required method
fn hash<H: Hasher>(&self, state: &mut H);
// Provided method
fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)
where Self: Sized { ... }
}
Expand description
Custom trait to avoid issues like https://github.com/rust-lang/rust/issues/27108.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.