Class Subspace :: sus :: iter :: RepeatWith

template <class ItemT, class RepeatFn>
class RepeatWith final
{ ... };

An Iterator that walks over at most a single Item.

Methods

auto clone() const -> RepeatWith<ItemT, RepeatFn>
requires
sus::mem::Clone<RepeatFn>
auto next() -> Option<sus::iter::RepeatWith::Item>
auto next_back() -> Option<sus::iter::RepeatWith::Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

Operators

auto operator=(RepeatWith<ItemT, RepeatFn>&&) -> RepeatWith<ItemT, RepeatFn>&