pub fn rev<I>(iterable: I) -> Rev<I::IntoIter>where I: IntoIterator, I::IntoIter: DoubleEndedIterator,
Iterate iterable in reverse.
iterable
IntoIterator enabled version of .rev().
IntoIterator
.rev()
use itertools::rev; for elt in rev(&[1, 2, 3]) { /* loop body */ }