Struct core::iter::SkipWhile1.0.0[][src]

#[must_use = "iterators are lazy and do nothing unless consumed"]pub struct SkipWhile<I, P> { /* fields omitted */ }

An iterator that rejects elements while predicate returns true.

This struct is created by the skip_while method on Iterator. See its documentation for more.

Trait Implementations

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

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

impl<I, P> FusedIterator for SkipWhile<I, P> where
    I: FusedIterator,
    P: FnMut(&I::Item) -> bool, 

impl<I: InPlaceIterable, F> InPlaceIterable for SkipWhile<I, F> where
    F: FnMut(&I::Item) -> bool, 

impl<I: Iterator, P> Iterator for SkipWhile<I, P> where
    P: FnMut(&I::Item) -> bool, 

type Item = I::Item

The type of the elements being iterated over.

impl<S: Iterator, P, I: Iterator> SourceIter for SkipWhile<I, P> where
    P: FnMut(&I::Item) -> bool,
    I: SourceIter<Source = S>, 

type Source = S

🔬 This is a nightly-only experimental API. (inplace_iteration)

A source stage in an iterator pipeline.

Auto Trait Implementations

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

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

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

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.