Trait rustc_hir::pat_util::EnumerateAndAdjustIterator
source · [−]pub trait EnumerateAndAdjustIterator {
fn enumerate_and_adjust(
self,
expected_len: usize,
gap_pos: DotDotPos
) -> EnumerateAndAdjust<Self>ⓘNotable traits for EnumerateAndAdjust<I>impl<I> Iterator for EnumerateAndAdjust<I>where
I: Iterator, type Item = (usize, <I as Iterator>::Item);
where
Self: Sized;
}
Required Methods
sourcefn enumerate_and_adjust(
fn enumerate_and_adjust(
self,
expected_len: usize,
gap_pos: DotDotPos
) -> EnumerateAndAdjust<Self>ⓘNotable traits for EnumerateAndAdjust<I>impl<I> Iterator for EnumerateAndAdjust<I>where
I: Iterator, type Item = (usize, <I as Iterator>::Item);
where
Self: Sized,
I: Iterator, type Item = (usize, <I as Iterator>::Item);