pub trait ExHash: PointeeSized {
type ExternalTraitSpecificationFor: Hash;
// Required methods
exec fn hash<H: Hasher>(&self, state: &mut H);
exec fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)
where Self: Sized;
}Required Associated Types§
Required Methods§
Sourceexec fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)where
Self: Sized,
exec fn hash_slice<H: Hasher>(data: &[Self], state: &mut H)where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".