Class Subspace :: sus :: iter :: Moved

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

An iterator that moves from the elements of an underlying iterator.

This type is returned from IteratorOverRange::moved().

Static Methods

Moved(Moved<InnerSizedIter>&&)

Methods

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