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§