[][src]Struct itertools::structs::Step

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Step<I> { /* fields omitted */ }
Deprecated since 0.8:

Use std .step_by() instead

An iterator adaptor that steps a number elements in the base iterator for each iteration.

The iterator steps by yielding the next element from the base iterator, then skipping forward n-1 elements.

See .step() for more information.

Trait Implementations

impl<I> Iterator for Step<I> where
    I: Iterator

type Item = I::Item

The type of the elements being iterated over.

impl<I> ExactSizeIterator for Step<I> where
    I: ExactSizeIterator

impl<I: Clone> Clone for Step<I>[src]

impl<I: Debug> Debug for Step<I>[src]

Auto Trait Implementations

impl<I> Send for Step<I> where
    I: Send

impl<I> Sync for Step<I> where
    I: Sync

impl<I> Unpin for Step<I> where
    I: Unpin

impl<I> UnwindSafe for Step<I> where
    I: UnwindSafe

impl<I> RefUnwindSafe for Step<I> where
    I: RefUnwindSafe

Blanket Implementations

impl<T> Itertools for T where
    T: Iterator + ?Sized

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

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

impl<I> IntoIterator for I where
    I: Iterator

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> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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