Struct Rev

pub struct Rev<I> { /* private fields */ }

An iterator that yields the elements of an underlying iterator in reverse order.

Trait Implementations

impl FusedIterator for Rev<MonthIter>

impl FusedIterator for Rev<WeekdayIter>

impl Iterator for Rev<MonthIter>

type Item = Month;
fn next(&mut self) -> Option<Self::Item>
fn size_hint(&self) -> (usize, Option<usize>)
fn nth(&mut self, n: usize) -> Option<Self::Item>
fn count(self) -> usize
fn last(self) -> Option<Self::Item>
fn all<F>(&mut self, f: F) -> bool
where
    F: FnMut(Self::Item) -> bool,
fn any<F>(&mut self, f: F) -> bool
where
    F: FnMut(Self::Item) -> bool,
fn max(self) -> Option<Self::Item>
fn min(self) -> Option<Self::Item>
fn is_sorted(self) -> bool

impl Iterator for Rev<WeekdayIter>

type Item = Weekday;
fn next(&mut self) -> Option<Self::Item>
fn size_hint(&self) -> (usize, Option<usize>)
fn nth(&mut self, n: usize) -> Option<Self::Item>
fn count(self) -> usize
fn last(self) -> Option<Self::Item>
fn all<F>(&mut self, f: F) -> bool
where
    F: FnMut(Self::Item) -> bool,
fn any<F>(&mut self, f: F) -> bool
where
    F: FnMut(Self::Item) -> bool,

impl<I: Clone> Clone for Rev<I>

fn clone(&self) -> Rev<I>

impl<I: Debug> Debug for Rev<I>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<I: Eq> Eq for Rev<I>

impl<I: PartialEq> PartialEq for Rev<I>

fn eq(&self, other: &Rev<I>) -> bool

impl<I: PartialEq> StructuralPartialEq for Rev<I>

Auto Trait Implementations

impl<I> Freeze for Rev<I> where I: Freeze,

impl<I> RefUnwindSafe for Rev<I> where I: RefUnwindSafe,

impl<I> Send for Rev<I> where I: Send,

impl<I> Sync for Rev<I> where I: Sync,

impl<I> Unpin for Rev<I> where I: Unpin,

impl<I> UnsafeUnpin for Rev<I> where I: UnsafeUnpin,

impl<I> UnwindSafe for Rev<I> where I: UnwindSafe,

Blanket Implementations

impl<I> IntoIterator for Rev<I> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for Rev<I> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Rev<I> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Rev<I> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Rev<I> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Rev<I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Rev<I> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Rev<I> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Rev<I> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Rev<I> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>