pub fn rect_view<'a, T>(
array: &'a ArrayView2<'_, T>,
rect: Rectangle,
indices: Index2d,
) -> ArrayView2<'a, T>Expand description
Extracts a rectangular view from a 2D array.
pub fn rect_view<'a, T>(
array: &'a ArrayView2<'_, T>,
rect: Rectangle,
indices: Index2d,
) -> ArrayView2<'a, T>Extracts a rectangular view from a 2D array.