Trait phf_mut::HashInverse
source · pub trait HashInverse: PerfectHash {
// Required method
fn invert(&self, hash: usize) -> Self::K;
// Provided method
fn iter(&self) -> KeyIter<'_, Self> ⓘ { ... }
}
Expand description
Inverse operation of the perfect hash function. This is necessary for all operations that generate key values, for example iteration.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.