Struct IterHash

pub struct IterHash<'a, T> { /* private fields */ }

An iterator over the entries of a HashTable that could match a given hash. The iterator element type is &'a T.

This struct is created by the iter_hash method on HashTable. See its documentation for more.

Trait Implementations

impl<'a, T> Clone for IterHash<'a, T>

fn clone(&self) -> IterHash<'a, T>

impl<'a, T> Iterator for IterHash<'a, T>

type Item = &'a T;
fn next(&mut self) -> Option<Self::Item>
fn fold<B, F>(self, init: B, f: F) -> B
where
    Self: Sized,
    F: FnMut(B, Self::Item) -> B,

impl<T> Debug for IterHash<'_, T> where T: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T> Default for IterHash<'_, T>

fn default() -> Self

impl<T> FusedIterator for IterHash<'_, T>

Auto Trait Implementations

impl<'a, T> !Send for IterHash<'a, T>

impl<'a, T> !Sync for IterHash<'a, T>

impl<'a, T> Freeze for IterHash<'a, T> where RawIterHash<T>: Freeze, PhantomData<&'a T>: Freeze,

impl<'a, T> RefUnwindSafe for IterHash<'a, T> where RawIterHash<T>: RefUnwindSafe, PhantomData<&'a T>: RefUnwindSafe,

impl<'a, T> Unpin for IterHash<'a, T> where RawIterHash<T>: Unpin, PhantomData<&'a T>: Unpin,

impl<'a, T> UnsafeUnpin for IterHash<'a, T> where RawIterHash<T>: UnsafeUnpin, PhantomData<&'a T>: UnsafeUnpin,

impl<'a, T> UnwindSafe for IterHash<'a, T> where RawIterHash<T>: UnwindSafe, PhantomData<&'a T>: UnwindSafe,

Blanket Implementations

impl<I> IntoIterator for IterHash<'a, T> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for IterHash<'a, T> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for IterHash<'a, T> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for IterHash<'a, T> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for IterHash<'a, T> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for IterHash<'a, T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for IterHash<'a, T> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for IterHash<'a, T> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for IterHash<'a, T> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for IterHash<'a, T> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>