pub trait MaybeReverseIter { type RevIfIter; // Required method fn rev_if(self, condition: bool) -> Self::RevIfIter where Self: Sized; }
Adapter for reversing iterators conditionally.
Reverse this iterator (apply .rev()) based on some condition.