[][src]Struct llhd::util::IndirectMapIter

pub struct IndirectMapIter<'tf, T: Iterator + 'tf, V: 'tf> { /* fields omitted */ }

An iterator over a sequence of keys into a map. The iterator produces the items from the map, in the order in which their keys appear in the slice.

Methods

impl<'tf, T: Iterator + 'tf, V> IndirectMapIter<'tf, T, V>[src]

Important traits for IndirectMapIter<'tf, T, V>
pub fn new(
    refs: T,
    map: &'tf dyn Index<T::Item, Output = V>
) -> IndirectMapIter<'tf, T, V>
[src]

Trait Implementations

impl<'tf, T: Iterator + 'tf, V> Iterator for IndirectMapIter<'tf, T, V>[src]

type Item = &'tf V

The type of the elements being iterated over.

Auto Trait Implementations

impl<'tf, T, V> !Send for IndirectMapIter<'tf, T, V>

impl<'tf, T, V> !Sync for IndirectMapIter<'tf, T, V>

impl<'tf, T, V> Unpin for IndirectMapIter<'tf, T, V> where
    T: Unpin

impl<'tf, T, V> !UnwindSafe for IndirectMapIter<'tf, T, V>

impl<'tf, T, V> !RefUnwindSafe for IndirectMapIter<'tf, T, V>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]