pub struct BacktrackingSolver;
Expand description
Trait Implementations§
Source§impl Solver for BacktrackingSolver
impl Solver for BacktrackingSolver
Source§fn solve(&self, sudoku: &Sudoku<impl Constraint + Clone>) -> Solution
fn solve(&self, sudoku: &Sudoku<impl Constraint + Clone>) -> Solution
Solves, or attempts to solve, the provided Sudoku. If the solver cannot
prove that a Sudoku is impossible or uniquely solveable (either
because it isn’t or the solver is not powerful enough), they shall
return
Solution::Ambiguous
.Auto Trait Implementations§
impl Freeze for BacktrackingSolver
impl RefUnwindSafe for BacktrackingSolver
impl Send for BacktrackingSolver
impl Sync for BacktrackingSolver
impl Unpin for BacktrackingSolver
impl UnwindSafe for BacktrackingSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more