[][src]Struct fallible_iterator::FilterMap

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

An iterator which both filters and maps the values of the underlying iterator.

Trait Implementations

impl<I: Clone, F: Clone> Clone for FilterMap<I, F>[src]

impl<I: Debug, F: Debug> Debug for FilterMap<I, F>[src]

impl<B, I, F> DoubleEndedFallibleIterator for FilterMap<I, F> where
    I: DoubleEndedFallibleIterator,
    F: FnMut(I::Item) -> Result<Option<B>, I::Error>, 
[src]

impl<B, I, F> FallibleIterator for FilterMap<I, F> where
    I: FallibleIterator,
    F: FnMut(I::Item) -> Result<Option<B>, I::Error>, 
[src]

type Item = B

The type being iterated over.

type Error = I::Error

The error type.

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

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

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

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

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

impl<I> IntoFallibleIterator for I where
    I: FallibleIterator
[src]

type Item = <I as FallibleIterator>::Item

The elements of the iterator.

type Error = <I as FallibleIterator>::Error

The error value of the iterator.

type IntoFallibleIter = I

The iterator.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.