[][src]Struct fallible_iterator::TakeWhile

pub struct TakeWhile<I, P> { /* fields omitted */ }

An iterator which yields elements based on a predicate.

Trait Implementations

impl<I: Clone, P: Clone> Clone for TakeWhile<I, P>[src]

impl<I: Debug, P: Debug> Debug for TakeWhile<I, P>[src]

impl<I, P> FallibleIterator for TakeWhile<I, P> where
    I: FallibleIterator,
    P: FnMut(&I::Item) -> Result<bool, I::Error>, 
[src]

type Item = I::Item

The type being iterated over.

type Error = I::Error

The error type.

Auto Trait Implementations

impl<I, P> RefUnwindSafe for TakeWhile<I, P> where
    I: RefUnwindSafe,
    P: RefUnwindSafe

impl<I, P> Send for TakeWhile<I, P> where
    I: Send,
    P: Send

impl<I, P> Sync for TakeWhile<I, P> where
    I: Sync,
    P: Sync

impl<I, P> Unpin for TakeWhile<I, P> where
    I: Unpin,
    P: Unpin

impl<I, P> UnwindSafe for TakeWhile<I, P> where
    I: UnwindSafe,
    P: 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.