Adds two new methods to iterators (specifically only ExactSizeIterator
s) for evaluating whether the item is the last in the iterator.
Similar to Iterator::enumerate
which adds counts to items.
Extension method for (exact size) iterators which yields tuple containing whether item is last in iterator
Rust
Adds two new methods to iterators (specifically only ExactSizeIterator
s) for evaluating whether the item is the last in the iterator.
Similar to Iterator::enumerate
which adds counts to items.