Class Subspace :: sus :: collections :: Split

template <class ItemT, class Pred>
class Split 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() method on slices.

Methods

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