Class Subspace :: sus :: iter :: Cycle

template <class InnerSizedIter>
class Cycle final
{ ... };

An iterator that repeats endlessly.

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

Static Methods

Cycle(Cycle<InnerSizedIter>&&)

Methods

auto clone() const -> Cycle<InnerSizedIter>
auto next() -> Option<sus::iter::Cycle::Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

auto trusted_len() const -> sus::iter::__private::TrustedLenMarker
requires
sus::iter::TrustedLen<InnerSizedIter>

sus::iter::TrustedLen trait.

Operators

auto operator=(Cycle<InnerSizedIter>&&) -> Cycle<InnerSizedIter>&