Class Subspace :: sus :: iter :: Fuse

template <class InnerIter>
class Fuse final
{ ... };

An iterator that returns the inner iterator's values until it sees None, and then only returns None.

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

Methods

auto clone() const -> Fuse<InnerIter>
requires
sus::mem::Clone<InnerIter>
auto exact_size_hint() const -> sus::usize
requires
sus::iter::ExactSizeIterator<InnerIter>

sus::iter::ExactSizeIterator trait.

auto next() -> Option<sus::iter::Fuse::Item>
auto next_back() -> Option<sus::iter::Fuse::Item>
requires
sus::iter::DoubleEndedIterator<InnerIter, Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

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

sus::iter::TrustedLen trait.

Operators

auto operator=(Fuse<InnerIter>&&) -> Fuse<InnerIter>&