Class Subspace :: sus :: collections :: RSplit

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

An iterator over subslices separated by elements that match a predicate function, starting from the end of the slice.

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

Methods

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