- pub fn at<C>(&self, c: C) -> Option<&T>
- where C: Into<(isize, isize)>
- {
- let c = c.into();
- if c.0 >= 0 && c.0 < self.size.width as isize && c.1 >= 0 && c.1 < self.size.height as isize {
- Some(&self.cells[c.0 as usize][c.1 as usize])
- } else {
- None
- }
- }
+ // pub fn at<C>(&self, c: C) -> Option<&T>
+ // where C: Into<(isize, isize)>
+ // {
+ // let c = c.into();
+ // if c.0 >= 0 && c.0 < self.size.width as isize && c.1 >= 0 && c.1 < self.size.height as isize {
+ // Some(&self.cells[c.0 as usize][c.1 as usize])
+ // } else {
+ // None
+ // }
+ // }