pub fn iter_indices(
        &self,
    ) -> impl Iterator<Item = ((K, K), &<T as ops::Index<(K, K)>>::Output)> {
        let x = self.x.clone();
        self.y.clone()
            .flat_map(move |y| x.clone().map(move |x| (x, y)))
            .map(move |key| (key, self.grid.index(key)))
    }
/// Create iterator over slice elements and corresponding indices
Create iterator over slice elements and corresponding indices
Create iterator over slice elements and corresponding indices
pub fn iter_indices(
        &self,
    ) -> impl Iterator<Item = ((K, K), &<T as ops::Index<(K, K)>>::Output)> {
        let x = self.x.clone();
        self.y.clone()
            .flat_map(move |y| x.clone().map(move |x| (x, y)))
            .map(move |key| (key, self.grid.index(key)))
    }
pub fn iter_indices ( & self , ) -> impl Iterator < Item = ( ( K , K ) , & < T as ops :: Index < ( K , K ) > > :: Output ) > { let x = self . x . clone ( ) ; self . y . clone ( ) . flat_map ( move | y | x . clone ( ) . map ( move | x | ( x , y ) ) ) . map ( move | key | ( key , self . grid . index ( key ) ) ) }
Create iterator over slice elements and corresponding indices
Create iterator over slice elements and corresponding indices
&self