Class Subspace :: sus :: iter :: Copied

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

An iterator that copies the elements of an underlying iterator.

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

Static Methods

Copied(Copied<InnerSizedIter>&&)

Methods

auto clone() const -> Copied<InnerSizedIter>
requires
sus::mem::Clone<InnerSizedIter>
auto exact_size_hint() const -> sus::usize
requires
sus::iter::ExactSizeIterator<InnerSizedIter, Item>
auto next() -> Option<sus::iter::Copied::Item>
auto next_back() -> Option<sus::iter::Copied::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=(Copied<InnerSizedIter>&&) -> Copied<InnerSizedIter>&