pub trait IterNth<S>: IterBase<S> {
// Required method
fn iter_nth(
&mut self,
state: &mut S,
next: &mut impl IterNext<S, T = Self::T>,
n: usize,
) -> Option<Self::T>;
}Required Methods§
fn iter_nth( &mut self, state: &mut S, next: &mut impl IterNext<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.