[][src]Struct iterators_collection::ResettableMap

pub struct ResettableMap<I, F> { /* fields omitted */ }

A resettable version of std::iter::Map. A simple trait implementation is not suitable because it requires to get access to private elements of std::iter::Map like the iterator stored

You can use it like you would use std::iter::Map but it implements the ResettableIterator trait too

Trait Implementations

impl<I, F, R> ResettableIterator for ResettableMap<I, F> where
    I: ResettableIterator,
    F: FnMut(I::Item) -> R, 
[src]

impl<I, F, R> ChildIterator for ResettableMap<I, F> where
    I: Iterator,
    F: FnMut(I::Item) -> R, 
[src]

type Parent = I

impl<I, F, R> Iterator for ResettableMap<I, F> where
    I: Iterator,
    F: FnMut(I::Item) -> R, 
[src]

type Item = R

The type of the elements being iterated over.

Auto Trait Implementations

impl<I, F> Send for ResettableMap<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for ResettableMap<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for ResettableMap<I, F> where
    F: Unpin,
    I: Unpin

impl<I, F> UnwindSafe for ResettableMap<I, F> where
    F: UnwindSafe,
    I: UnwindSafe

impl<I, F> RefUnwindSafe for ResettableMap<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

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 = !

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]