Type Alias SquareGrid

Source
pub type SquareGrid<const W: usize, T> = Grid<W, W, T>;
Expand description

A statically sized 2-dimensional array with equal width and height

Aliased Type§

pub struct SquareGrid<const W: usize, T> {
    pub data: [[T; W]; W],
}

Fields§

§data: [[T; W]; W]