Trait sudoku::Grid
[−]
[src]
pub trait Grid: Index<Point> { fn points(&self) -> Vec<Point>; }
Represents an n-dimensional grid of values, indexable via Point
.
Required Methods
fn points(&self) -> Vec<Point>
Returns all points in the grid.
Useful for enumeration with Iterator::zip
.
Implementors
impl Grid for Sudoku