fn min_distance(&self, other: &Coord) -> usize {
        let distance_x = (self.x as isize - other.x as isize).abs();
        let distance_y = (self.y as isize - other.y as isize).abs();

        (distance_x + distance_y) as usize
    }
// min (possible) distance, doesn't account for cells being Water/Land
min (possible) distance, doesn't account for cells being Water/Land
min ( possible ) distance doesn ' t account for cells being Water / Land
fn min_distance(&self, other: &Coord) -> usize {
        let distance_x = (self.x as isize - other.x as isize).abs();
        let distance_y = (self.y as isize - other.y as isize).abs();
        (distance_x + distance_y) as usize
    }
fn min_distance ( & self , other : & Coord ) -> usize { let distance_x = ( self . x as isize - other . x as isize ) . abs ( ) ; let distance_y = ( self . y as isize - other . y as isize ) . abs ( ) ; ( distance_x + distance_y ) as usize }
min (possible) distance, doesn't account for cells being Water/Land
min ( possible ) distance doesn ' t account for cells being Water / Land
&self
other
&Coord
&self
other
&Coord