class SplitNMut
Declaration
template <class ItemT, class Pred>
class SplitNMut { /* full declaration omitted */ };
Description
An iterator over mutable subslices separated by elements that match a predicate function, limited to a given number of splits. This struct is created by the `splitn_mut()` method on slices.
Declared at: sus/collections/iterators/split.h:661
Templates
- ItemT
- Pred
Method Overview
- public constexpr Option<sus::collections::SplitNMut::Item> next() noexcept
- public constexpr ::sus::iter::SizeHint size_hint() const noexcept
Methods
¶constexpr Option<
sus::collections::SplitNMut::Item>
next() noexcept
constexpr Option<
sus::collections::SplitNMut::Item>
next() noexcept
Declared at: sus/collections/iterators/split.h:668
¶constexpr ::sus::iter::SizeHint size_hint()
const noexcept
constexpr ::sus::iter::SizeHint size_hint()
const noexcept
Declared at: sus/collections/iterators/split.h:671