Class Subspace :: sus :: collections :: SplitNMut

template <class ItemT, class Pred>
class SplitNMut final
requires
sus::fn::FnMut<Pred, _Bool (const ItemT &)>
{ ... };

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.

Methods

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