Struct Subspace :: sus :: collections :: ChunksMut

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

An iterator over mutable a slice in (non-overlapping) chunks (chunk_size elements at a time), starting at the beginning 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 chunks_mut() method on slices.

Methods

sus::iter::ExactSizeIterator trait.

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