pub struct Windows<'a, T>where
T: 'a,{ /* private fields */ }Expand description
Trait Implementations§
1.0.0 · Source§impl<'a, T> DoubleEndedIterator for Windows<'a, T>
impl<'a, T> DoubleEndedIterator for Windows<'a, T>
Source§fn next_back(&mut self) -> Option<<Windows<'a, T> as Iterator>::Item>
fn next_back(&mut self) -> Option<<Windows<'a, T> as Iterator>::Item>
Removes and returns an element from the end of the iterator. Read more
Source§fn nth_back(&mut self, n: usize) -> Option<<Windows<'a, T> as Iterator>::Item>
fn nth_back(&mut self, n: usize) -> Option<<Windows<'a, T> as Iterator>::Item>
Returns the
nth element from the end of the iterator. Read moreSource§fn next_chunk_back<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
fn next_chunk_back<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
🔬This is a nightly-only experimental API. (
iter_next_chunk #98326)Advances from the back of the iterator and returns an array containing the next
N values in sequence. Read moreSource§fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
🔬This is a nightly-only experimental API. (
iter_advance_by #77404)Advances the iterator from the back by
n elements. Read more1.27.0 (const: unstable) · Source§fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
This is the reverse version of
Iterator::try_fold(): it takes
elements starting from the back of the iterator. Read more