Skip to main content

Hash

Trait Hash 

Source
pub trait Hash {
    // Required method
    fn hash(&self, state: &mut dyn Hasher);
}

Required Methods§

Source

fn hash(&self, state: &mut dyn Hasher)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Hash for T
where T: Hash,