pub fn cell_outer_edge_directions(&self, coord: TileGridCoord) -> Vec<CartesianDirection> {
        const MAX_IDX: u8 = Tile::CELL_GRID_WIDTH - 1;

        let mut dirs = Vec::with_capacity(4);
        if coord.x() == 0 {
            dirs.push(CartesianDirection::Left);
        }
        if coord.x() == MAX_IDX {
            dirs.push(CartesianDirection::Right);
        }
        if coord.y() == 0 {
            dirs.push(CartesianDirection::Up);
        }
        if coord.y() == MAX_IDX {
            dirs.push(CartesianDirection::Down);
        }
        dirs
    }
/// CartesianDirections pointing to edge of tile
///
/// Internal tiles will have no directions
CartesianDirections pointing to edge of tile
Internal tiles will have no directions
CartesianDirections pointing to edge of tile Internal tiles will have no directions
pub fn cell_outer_edge_directions(&self, coord: TileGridCoord) -> Vec<CartesianDirection> {
        const MAX_IDX: u8 = Tile::CELL_GRID_WIDTH - 1;
        let mut dirs = Vec::with_capacity(4);
        if coord.x() == 0 {
            dirs.push(CartesianDirection::Left);
        }
        if coord.x() == MAX_IDX {
            dirs.push(CartesianDirection::Right);
        }
        if coord.y() == 0 {
            dirs.push(CartesianDirection::Up);
        }
        if coord.y() == MAX_IDX {
            dirs.push(CartesianDirection::Down);
        }
        dirs
    }
pub fn cell_outer_edge_directions ( & self , coord : TileGridCoord ) -> Vec < CartesianDirection > { const MAX_IDX : u8 = Tile :: CELL_GRID_WIDTH - 1 ; let mut dirs = Vec :: with_capacity ( 4 ) ; if coord . x ( ) == 0 { dirs . push ( CartesianDirection :: Left ) ; } if coord . x ( ) == MAX_IDX { dirs . push ( CartesianDirection :: Right ) ; } if coord . y ( ) == 0 { dirs . push ( CartesianDirection :: Up ) ; } if coord . y ( ) == MAX_IDX { dirs . push ( CartesianDirection :: Down ) ; } dirs }
CartesianDirections pointing to edge of tile
Internal tiles will have no directions
CartesianDirections pointing to edge of tile Internal tiles will have no directions
&self
coord
TileGridCoord