Struct SkipWhile

struct SkipWhile<I, P> { ... }

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.

Implementations

impl<I> IntoIterator for SkipWhile<I, P>

fn into_iter(self: Self) -> I

impl<I, P> Freeze for SkipWhile<I, P>

impl<I, P> FusedIterator for SkipWhile<I, P>

impl<I, P> RefUnwindSafe for SkipWhile<I, P>

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

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

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

impl<I, P> UnsafeUnpin for SkipWhile<I, P>

impl<I, P> UnwindSafe for SkipWhile<I, P>

impl<I: $crate::clone::Clone, P: $crate::clone::Clone> Clone for SkipWhile<I, P>

fn clone(self: &Self) -> SkipWhile<I, P>

impl<I: Iterator, P> Iterator for SkipWhile<I, P>

fn next(self: &mut Self) -> Option<<I as >::Item>
fn size_hint(self: &Self) -> (usize, Option<usize>)
fn try_fold<Acc, Fold, R>(self: &mut Self, init: Acc, fold: Fold) -> R
where
    Self: Sized,
    Fold: FnMut(Acc, <Self as >::Item) -> R,
    R: Try<Output = Acc>
fn fold<Acc, Fold>(self: Self, init: Acc, fold: Fold) -> Acc
where
    Fold: FnMut(Acc, <Self as >::Item) -> Acc

impl<I: fmt::Debug, P> Debug for SkipWhile<I, P>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<T> Any for SkipWhile<I, P>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SkipWhile<I, P>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for SkipWhile<I, P>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for SkipWhile<I, P>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for SkipWhile<I, P>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for SkipWhile<I, P>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for SkipWhile<I, P>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for SkipWhile<I, P>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>