Function cycle_forward

Source
pub(super) fn cycle_forward<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 forward order, ending with start.