fn get2<T: Copy, const C: usize>(
arr: &[[T; C]],
row: usize,
col: usize,
) -> Option<T>Expand description
Copy the element at (row, col) from a 2-D array slice, returning None
if either index is out of bounds.
fn get2<T: Copy, const C: usize>(
arr: &[[T; C]],
row: usize,
col: usize,
) -> Option<T>Copy the element at (row, col) from a 2-D array slice, returning None
if either index is out of bounds.