pub struct Rev<T>(/* private fields */);Expand description
A combinator returned from DoubleEndedNonEmptyIntoIter::rev.
See the method for more details.
Trait Implementations§
Source§impl<T: DoubleEndedNonEmptyIntoIter> DoubleEndedNonEmptyIntoIter for Rev<T>where
T::IntoIter: DoubleEndedIterator,
impl<T: DoubleEndedNonEmptyIntoIter> DoubleEndedNonEmptyIntoIter for Rev<T>where
T::IntoIter: DoubleEndedIterator,
Source§impl<T: IntoIterator> IntoIterator for Rev<T>where
T::IntoIter: DoubleEndedIterator,
impl<T: IntoIterator> IntoIterator for Rev<T>where
T::IntoIter: DoubleEndedIterator,
Source§impl<T: DoubleEndedNonEmptyIntoIter> NonEmptyIntoIter for Rev<T>where
T::IntoIter: DoubleEndedIterator,
impl<T: DoubleEndedNonEmptyIntoIter> NonEmptyIntoIter for Rev<T>where
T::IntoIter: DoubleEndedIterator,
Source§fn into_first_and_remaining(self) -> (Self::Item, Self::IntoIter)
fn into_first_and_remaining(self) -> (Self::Item, Self::IntoIter)
Splits the collection into first element and an iterator of remaining elements.
Source§fn map<U, F>(self, f: F) -> Map<Self, F>
fn map<U, F>(self, f: F) -> Map<Self, F>
Applies function or closure
f to each item. Read moreSource§fn reduce<F>(self, f: F) -> Self::Item
fn reduce<F>(self, f: F) -> Self::Item
Repeatedly applies the closure to pair of items. Read more
Source§fn min(self) -> Self::Item
fn min(self) -> Self::Item
Finds the minimum value in the iterator according to the
Ord impl. Read moreSource§fn min_by<F>(self, f: F) -> Self::Item
fn min_by<F>(self, f: F) -> Self::Item
Finds the minimum value in the iterator according to the provided closure. Read more
Source§fn min_by_key<K, F>(self, f: F) -> Self::Item
fn min_by_key<K, F>(self, f: F) -> Self::Item
Finds the minimum value in the iterator according to the
Ord impl on the key computed by
the closure. Read moreSource§fn max(self) -> Self::Item
fn max(self) -> Self::Item
Finds the minimum value in the iterator according to the
Ord impl. Read moreSource§fn max_by<F>(self, f: F) -> Self::Item
fn max_by<F>(self, f: F) -> Self::Item
Finds the maximum value in the iterator according to the provided closure. Read more
Source§fn max_by_key<K, F>(self, f: F) -> Self::Item
fn max_by_key<K, F>(self, f: F) -> Self::Item
Finds the maximum value in the iterator according to the
Ord impl on the key computed by
the closure. Read moreAuto Trait Implementations§
impl<T> Freeze for Rev<T>where
T: Freeze,
impl<T> RefUnwindSafe for Rev<T>where
T: RefUnwindSafe,
impl<T> Send for Rev<T>where
T: Send,
impl<T> Sync for Rev<T>where
T: Sync,
impl<T> Unpin for Rev<T>where
T: Unpin,
impl<T> UnwindSafe for Rev<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more