Protocol std::iter::DoubleEndedIteratorExt
protocol DoubleEndedIteratorExt<Self, T> { ... }
Self: DoubleEndedIterator<Self, T>
Extension mixin for DoubleEndedIterator types.
Provided methods
-
fn rev(self: &mut Self) -> RevIterator<Self, T>
"Reverse" the iterator.
rev
returns a wrapper over an iterator that hasnext
andnext_back
methods reversed.