Trait dyn_hash::DynHash

source ·
pub trait DynHash: Sealed {
    // Required method
    fn dyn_hash(&self, state: &mut dyn Hasher);
}
Expand description

This trait is implemented for any type that implements std::hash::Hash.

Required Methods§

source

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

Trait Implementations§

source§

impl<'hash> Hash for dyn DynHash + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn DynHash + Send + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn DynHash + Send + Sync + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn DynHash + Sync + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more

Implementors§

source§

impl<T: Hash + ?Sized> DynHash for T