pub struct SudokuBoard {
    pub cells: [[Cell; 9]; 9],
}

Fields

cells: [[Cell; 9]; 9]

Implementations

Create an empty board with all cells “locked”

Fill board completely with solved state

Returns false if given SRN x SRN block contains num.

Check if safe to put in cell

A recursive function to fill remaining matrix

Get the amount of unique solutions a board has

Check if the board has no mistakes

Check if the board is solved

Check if the board is completely filled

Remove cells from the filled solved board to make a puzzle

Display the board in stdout

Display grid in stdout

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.