Function cycle_backward

Source
pub(super) fn cycle_backward<T>(
    items: &[T],
    start: usize,
) -> impl Iterator<Item = (usize, &T)>
Expand description

Iterator that begins at start - 1 and cycles through all items of the slice in reverse order, ending with start.