Trait HashKernels

Source
pub trait HashKernels {
    type HI: Iterator<Item = usize>;

    // Required method
    fn hash_iter<T: Hash>(&self, item: &T) -> Self::HI;
}
Expand description

A trait for creating hash iterator of item.

Required Associated Types§

Source

type HI: Iterator<Item = usize>

Required Methods§

Source

fn hash_iter<T: Hash>(&self, item: &T) -> Self::HI

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<BH: BuildHasher> HashKernels for DefaultHashKernels<BH>

Source§

type HI = DefaultHashIter