Class Subspace :: sus :: collections :: SplitMut

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

An iterator over subslices separated by elements that match a predicate function.

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

Methods

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