Class Subspace :: sus :: iter :: Filter

template <class InnerSizedIter, class Pred>
class Filter final
{ ... };

An iterator that filters based on a predicate function.

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

Static Methods

Filter(Filter<InnerSizedIter, Pred>&&)

Methods

auto clone() const -> Filter<InnerSizedIter, Pred>
requires
sus::mem::Clone<Pred>
sus::mem::Clone<InnerSizedIter>
auto next() -> Option<sus::iter::Filter::Item>
auto next_back() -> Option<sus::iter::Filter::Item>
requires
sus::iter::DoubleEndedIterator<InnerSizedIter, Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

Operators

auto operator=(Filter<InnerSizedIter, Pred>&&) -> Filter<InnerSizedIter, Pred>&