precomputed_hash

Trait PrecomputedHash

Source
pub trait PrecomputedHash {
    // Required method
    fn precomputed_hash(&self) -> u32;
}
Expand description

A trait to expose a precomputed hash for a type.

Required Methods§

Source

fn precomputed_hash(&self) -> u32

Return the precomputed hash for this item.

Implementations on Foreign Types§

Source§

impl<'a, T: PrecomputedHash> PrecomputedHash for &'a T

Source§

impl<'a, T: PrecomputedHash> PrecomputedHash for &'a mut T

Implementors§