Trait IteratorIndex

pub trait IteratorIndex<I>: Sealed
where
    I: Iterator,

Used by Itertools::get to know which iterator to turn different ranges into.

Associated Types

type Output: Iterator<Item = I::Item>;

The type returned for this type of index.

Required Methods

fn index(self, from: I) -> Self::Output

Returns an adapted iterator for the current index.

Prefer calling Itertools::get instead of calling this directly.

Implementors