Trait sudoku::Solve [] [src]

pub trait Solve: Sized {
    fn solution(&self) -> Result<Self, Error>;

    fn is_uniquely_solvable(&self) -> bool { ... }
}

Trait defining a solvable puzzle.

Required Methods

Returns the puzzle's unique solution if it exists.

Provided Methods

Whether the puzzle has a unique solution.

Implementors