Class Subspace :: sus :: collections :: RSplitN

template <class ItemT, class Pred>
class RSplitN final
requires
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.

Methods

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