block_items_with_offset

Function block_items_with_offset 

Source
pub(crate) fn block_items_with_offset<T, I>(
    items: I,
) -> impl Iterator<Item = (Unsigned18Bit, T)>
where I: Iterator<Item = T>,
Expand description

Enumerate a sequence of items, decorating each with an Unsigned18Bit offset value.