IterNthBack

Trait IterNthBack 

Source
pub trait IterNthBack<S>: IterBase<S> {
    // Required method
    fn iter_nth_back(
        &mut self,
        state: &mut S,
        next_back: &mut impl IterNextBack<S, T = Self::T>,
        n: usize,
    ) -> Option<Self::T>;
}

Required Methods§

Source

fn iter_nth_back( &mut self, state: &mut S, next_back: &mut impl IterNextBack<S, T = Self::T>, n: usize, ) -> Option<Self::T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<F: FnMut(&mut S, usize) -> Option<T>, S, T> IterNthBack<S> for Meta<F, S, T>

Source§

impl<T, S> IterNthBack<S> for No<T>