fn get2_mut<T, const C: usize>(
arr: &mut [[T; C]],
row: usize,
col: usize,
) -> Option<&mut T>Expand description
Return a mutable reference to (row, col) in a 2-D array slice, returning
None if either index is out of bounds.
fn get2_mut<T, const C: usize>(
arr: &mut [[T; C]],
row: usize,
col: usize,
) -> Option<&mut T>Return a mutable reference to (row, col) in a 2-D array slice, returning
None if either index is out of bounds.