Trait method lrs::iter::IteratorExt::enumerate

Returns a new iterator that returns the number of the element in addition to the element.

Syntax

fn enumerate(self) -> Enumerate<Self>