Class Subspace :: sus :: collections :: RSplitN

template <class ItemT, class Pred>
class RSplitN 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, starting from the end of the slice.

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


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