(&self, mut f: impl FnMut(usize, usize, &T) -> bool)
| 673 | |
| 674 | #[inline] |
| 675 | pub fn find_cell(&self, mut f: impl FnMut(usize, usize, &T) -> bool) -> Option<(usize, usize)> { |
| 676 | self.cells() |
| 677 | .find(|(row, col, value)| f(*row, *col, value)) |
| 678 | .map(|(row, col, _)| (row, col)) |
| 679 | } |
| 680 | |
| 681 | #[inline] |
| 682 | pub fn fill(&mut self, value: T) -> &mut Self |