Class Subspace :: sus :: iter :: Zip

template <class... InnerSizedIters>
class Zip final
{ ... };

An iterator that iterates a group of other iterators simultaneously.

This type is returned from Iterator::zip().

Static Methods

Zip(Zip<InnerIters...>&&)

Methods

auto clone() const -> Zip<InnerIters...>
requires
(... && ::sus::mem::Clone<InnerSizedIters>)
auto exact_size_hint() const -> sus::usize
requires
(... &&
         ExactSizeIterator<InnerSizedIters, typename InnerSizedIters::Item>)
auto next() -> Option<sus::iter::Zip::Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

auto trusted_len() const -> sus::iter::__private::TrustedLenMarker
requires
(... && TrustedLen<InnerSizedIters>)

sus::iter::TrustedLen trait.

Operators

auto operator=(Zip<InnerIters...>&&) -> Zip<InnerIters...>&