core_pb/grid/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
#[cfg(feature = "std")]
pub mod computed_grid;
pub mod standard_grid;

/// Width and height of a [`Grid`].
pub const GRID_SIZE: usize = 32;

/// A 2D grid
///
/// The grid is indexed by `grid[row][col]`
pub type Grid = [[bool; GRID_SIZE]; GRID_SIZE];