Struct Subspace :: sus :: collections :: VecIntoIter

template <class ItemT>
struct VecIntoIter final
{ ... };

An iterator that consumes a Vec and returns the items from it.

This type is returned from Vec::into_iter().

Static Methods

VecIntoIter(sus::collections::Vec<sus::collections::VecIntoIter::Item>&& vec)

Methods

auto clone() const -> VecIntoIter<T>
requires
sus::mem::Clone<Item>

sus::iter::ExactSizeIterator trait.

auto next() -> Option<sus::collections::VecIntoIter::Item>

sus::iter::Iterator trait.

auto next_back() -> Option<sus::collections::VecIntoIter::Item>

sus::iter::DoubleEndedIterator trait.

auto size_hint() const -> SizeHint

sus::iter::Iterator trait.