Class Subspace :: sus :: collections :: SplitN

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

An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits.

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


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