pub fn range_zip_1x2<Idx, IR0, R0, IO0, O0, IO1, O1>(
r0: IR0,
o0: IO0,
o1: IO1
) -> RangeZip1x2<Idx, <IR0 as IntoIterator>::IntoIter, R0, <IO0 as IntoIterator>::IntoIter, O0, <IO1 as IntoIterator>::IntoIter, O1> ⓘwhere
Idx: Ord,
IR0: IntoIterator<Item = (Idx, R0)>,
IO0: IntoIterator<Item = (Idx, O0)>,
IO1: IntoIterator<Item = (Idx, O1)>,
Expand description
Returns a new RangeZip1x2
iterator.
The number of elements in a range zip iterator corresponds to the number of elements in the
shortest of its required iterators (r0
).
Each call to next
is guaranteed to yield the next value for each required iterator,
as well as the most recent index amongst all of them.
Optional iterators accumulate their state and yield their most recent value (if any), each time the required iterators fire.