pub fn new(columns: u32, rows: u32) -> Self {
        let tiles = HashMap::with_capacity((columns * rows) as usize);
        let size = Size::new(columns, rows);
        Self {
            tiles,
            size,
        }
    }
/// Returns a ``Maze`` with the given width and height
///
/// # Example
/// ```
/// use maze_tiles_rust::maze::Maze;
///
/// let maze = Maze::new(20, 10);
/// assert!(maze.tiles.capacity() >= 200);
/// ```
Returns a ``Maze`` with the given width and height
Returns a ` ` Maze ` ` with the given width and height
pub fn new(columns: u32, rows: u32) -> Self {
        let tiles = HashMap::with_capacity((columns * rows) as usize);
        let size = Size::new(columns, rows);
        Self {
            tiles,
            size,
        }
    }
pub fn new ( columns : u32 , rows : u32 ) -> Self { let tiles = HashMap :: with_capacity ( ( columns * rows ) as usize ) ; let size = Size :: new ( columns , rows ) ; Self { tiles , size , } }
Returns a ``Maze`` with the given width and height
Returns a ` ` Maze ` ` with the given width and height
columns
u32
rows
u32
columns
u32
rows
u32
example
```
use maze_tiles_rust::maze::Maze.


` ` ` use maze_tiles_rust :: maze :: Maze .