pub fn find_pattern_iter<'a, T>( data: &'a [T], pattern: &'a [T], ) -> impl Iterator<Item = usize> + 'awhere T: PartialEq,