struct ChunksMut
Declaration
template <class ItemT>
struct ChunksMut { /* full declaration omitted */ };
Description
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.
Declared at: sus/collections/iterators/chunks.h:135
Templates
- ItemT
Method Overview
- public ::sus::num::usize exact_size_hint() const noexcept
- public Option<sus::collections::ChunksMut::Item> next() noexcept
- public Option<sus::collections::ChunksMut::Item> next_back() noexcept
- public ::sus::iter::SizeHint size_hint() const noexcept
Methods
¶::sus::num::usize exact_size_hint() const noexcept
::sus::num::usize exact_size_hint() const noexcept
Description
sus::iter::ExactSizeIterator trait.
Declared at: sus/collections/iterators/chunks.h:196
¶Option<sus::collections::ChunksMut::Item>
next() noexcept
Option<sus::collections::ChunksMut::Item>
next() noexcept
Declared at: sus/collections/iterators/chunks.h:150
¶Option<sus::collections::ChunksMut::Item>
next_back() noexcept
Option<sus::collections::ChunksMut::Item>
next_back() noexcept
Declared at: sus/collections/iterators/chunks.h:163
¶::sus::iter::SizeHint size_hint() const noexcept
::sus::iter::SizeHint size_hint() const noexcept
Declared at: sus/collections/iterators/chunks.h:190