Struct Subspace :: sus :: collections :: SliceIter

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

An iterator over a contiguous array of objects with const access to them.

This type is returned from Vec::iter() and Slice::iter() among others.

Static Methods

SliceIter(IterRef ref, const sus::collections::SliceIter::RawItem* start, sus::usize len)

Methods

auto as_slice() const& -> sus::collections::Slice<sus::collections::SliceIter::Item>

Returns a slice of the items left to be iterated.

sus::iter::ExactSizeIterator trait.

auto next() -> Option<sus::collections::SliceIter::Item>
auto next_back() -> Option<sus::collections::SliceIter::Item>
auto size_hint() const -> SizeHint