Function re_space_view::external::re_query::range_zip_2x1
source · pub fn range_zip_2x1<Idx, IR0, R0, IR1, R1, IO0, O0>(
r0: IR0,
r1: IR1,
o0: IO0
) -> RangeZip2x1<Idx, <IR0 as IntoIterator>::IntoIter, R0, <IR1 as IntoIterator>::IntoIter, R1, <IO0 as IntoIterator>::IntoIter, O0> ⓘwhere
Idx: Ord,
IR0: IntoIterator<Item = (Idx, R0)>,
IR1: IntoIterator<Item = (Idx, R1)>,
IO0: IntoIterator<Item = (Idx, O0)>,
Expand description
Returns a new RangeZip2x1
iterator.
The number of elements in a range zip iterator corresponds to the number of elements in the
shortest of its required iterators (r0
, r1
).
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.