struct RChunksMut
Declaration
template <class ItemT>
struct RChunksMut { /* full declaration omitted */ };
Description
An iterator over a mutable 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_mut()` method on slices.
Declared at: sus/collections/iterators/chunks.h:572
Templates
- ItemT
Method Overview
- public constexpr ::sus::num::usize exact_size_hint() const noexcept
- public constexpr Option<sus::collections::RChunksMut::Item> next() noexcept
- public constexpr Option<sus::collections::RChunksMut::Item> next_back() noexcept
- public constexpr ::sus::iter::SizeHint size_hint() const noexcept
Methods
¶constexpr ::sus::num::usize exact_size_hint()
const noexcept
constexpr ::sus::num::usize exact_size_hint()
const noexcept
Description
sus::iter::ExactSizeIterator trait.
Declared at: sus/collections/iterators/chunks.h:627
¶constexpr Option<
sus::collections::RChunksMut::Item>
next() noexcept
constexpr Option<
sus::collections::RChunksMut::Item>
next() noexcept
Declared at: sus/collections/iterators/chunks.h:587
¶constexpr Option<
sus::collections::RChunksMut::Item>
next_back() noexcept
constexpr Option<
sus::collections::RChunksMut::Item>
next_back() noexcept
Declared at: sus/collections/iterators/chunks.h:606
¶constexpr ::sus::iter::SizeHint size_hint()
const noexcept
constexpr ::sus::iter::SizeHint size_hint()
const noexcept
Declared at: sus/collections/iterators/chunks.h:621