Class Subspace :: sus :: iter :: Successors

template <class ItemT, class GenFn>
class Successors final
{ ... };

An Iterator that generates each item from a function that takes the previous item.

This type is created by sus::iter::successors().

Methods

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

sus::iter::Iterator trait.

Operators

auto operator=(Successors<ItemT, GenFn>&&) -> Successors<ItemT, GenFn>&