rustc_hir::pat_util

Trait EnumerateAndAdjustIterator

Source
pub trait EnumerateAndAdjustIterator {
    // Required method
    fn enumerate_and_adjust(
        self,
        expected_len: usize,
        gap_pos: DotDotPos,
    ) -> EnumerateAndAdjust<Self> 
       where Self: Sized;
}

Required Methods§

Source

fn enumerate_and_adjust( self, expected_len: usize, gap_pos: DotDotPos, ) -> EnumerateAndAdjust<Self>
where Self: Sized,

Implementors§