pub struct Enumerate<I> {
// some fields omitted
}
An iterator that yields the iteration count as well as the values of the
underlying iterator.
Trait Implementations
type Item = (usize, I::Item)
type Error = I::Error
fn by_ref(&mut self) -> &mut Self where Self: Sized
fn filter<F>(self, f: F) -> Filter<Self, F> where Self: Sized, F: FnMut(&Self::Item) -> bool
fn fuse(self) -> Fuse<Self> where Self: Sized
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where Self: Sized, F: FnMut(B, Self::Item) -> B
fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sized
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where F: FnMut(Self::Error) -> B, Self: Sized
fn take(self, n: usize) -> Take<Self> where Self: Sized
Derived Implementations