Function re_query::range_zip::range_zip_1x5
source · pub fn range_zip_1x5<Idx, IR0, R0, IO0, O0, IO1, O1, IO2, O2, IO3, O3, IO4, O4>(
r0: IR0,
o0: IO0,
o1: IO1,
o2: IO2,
o3: IO3,
o4: IO4
) -> RangeZip1x5<Idx, IR0::IntoIter, R0, IO0::IntoIter, O0, IO1::IntoIter, O1, IO2::IntoIter, O2, IO3::IntoIter, O3, IO4::IntoIter, O4> ⓘwhere
Idx: Ord,
IR0: IntoIterator<Item = (Idx, R0)>,
IO0: IntoIterator<Item = (Idx, O0)>,
IO1: IntoIterator<Item = (Idx, O1)>,
IO2: IntoIterator<Item = (Idx, O2)>,
IO3: IntoIterator<Item = (Idx, O3)>,
IO4: IntoIterator<Item = (Idx, O4)>,
Expand description
Returns a new RangeZip1x5
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.