pub enum SolveStep {
Placement {
row: usize,
col: usize,
value: u8,
flags: TechniqueFlags,
},
CandidateElimination {
row: usize,
col: usize,
value: u8,
flags: TechniqueFlags,
},
}
Expand description
Single step in the solving process.
Variants§
Placement
A placement of a single value on the Sudoku board.
Fields
§
flags: TechniqueFlags
Flags indicating the technique used for this placement.
CandidateElimination
A removal of a candidate value from the Sudoku board.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolveStep
impl RefUnwindSafe for SolveStep
impl Send for SolveStep
impl Sync for SolveStep
impl Unpin for SolveStep
impl UnwindSafe for SolveStep
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