Class Subspace :: sus :: collections :: SplitInclusiveMut

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

An iterator over subslices separated by elements that match a predicate function. Unlike Split, it contains the matched part as a terminator of the subslice.

This struct is created by the split_inclusive_mut() method on slices.

Methods

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