Class Subspace :: sus :: iter :: FilterMap

template <class ToItem, class InnerSizedIter, class FilterMapFn>
class FilterMap final
{ ... };

An iterator that uses a function to both filter and map elements from another Iterator.

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

Static Methods

FilterMap(FilterMap<ToItem, InnerSizedIter, FilterMapFn>&&)

Methods

auto clone() const -> FilterMap<ToItem, InnerSizedIter, FilterMapFn>
requires
sus::mem::Clone<FilterMapFn>
sus::mem::Clone<InnerSizedIter>
auto next() -> Option<sus::iter::FilterMap::Item>
auto next_back() -> Option<sus::iter::FilterMap::Item>
requires
sus::iter::DoubleEndedIterator<InnerSizedIter, FromItem>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

Operators

auto operator=(FilterMap<ToItem, InnerSizedIter, FilterMapFn>&&) -> FilterMap<ToItem, InnerSizedIter, FilterMapFn>&