Struct Subspace :: sus :: collections :: RChunks

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

An iterator over a slice in (non-overlapping) chunks (chunk_size elements at a time), starting at the end of the slice.

When the slice len is not evenly divided by the chunk size, the last slice of the iteration will be the remainder.

This struct is created by the rchunks() method on slices.

Methods

sus::iter::ExactSizeIterator trait.

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