Class Subspace :: sus :: iter :: Cloned

template <class InnerSizedIter>
class Cloned final
{ ... };

An iterator that clones the elements of an underlying iterator.

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

Static Methods

Cloned(Cloned<InnerSizedIter>&&)

Methods

auto clone() const -> Cloned<InnerSizedIter>
requires
sus::mem::Clone<InnerSizedIter>
auto exact_size_hint() const -> sus::usize
requires
sus::iter::ExactSizeIterator<InnerSizedIter, Item>
auto next() -> Option<sus::iter::Cloned::Item>
auto next_back() -> Option<sus::iter::Cloned::Item>
requires
sus::iter::DoubleEndedIterator<InnerSizedIter, Item>
auto size_hint() const -> SizeHint

sus::iter::Iterator trait.

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

sus::iter::TrustedLen trait.

Operators

auto operator=(Cloned<InnerSizedIter>&&) -> Cloned<InnerSizedIter>&