pub struct SolveReport {
pub is_solved: bool,
pub is_valid: bool,
pub given: usize,
pub hidden_singles: usize,
pub naked_singles: usize,
pub num_pointing: usize,
pub box_line: usize,
pub subsets_used: usize,
pub state: String,
}Fields§
§is_solved: boolIs the solution sovled.
is_valid: boolIs this still a valid state.
given: usizeHow many were already solved before starting?
Number of hidden singles
http://sudopedia.enjoysudoku.com/Hidden_Single.html
The number of positions solved by finding a hidden single
naked_singles: usizeNumber of naked singles
http://sudopedia.enjoysudoku.com/Naked_Single.html
The number of positions solved by having no other options.
num_pointing: usize§box_line: usize§subsets_used: usizeThe number of times that a {Naked,Hidden}{Double,Triple} is used to remove a candidate.
http://sudopedia.enjoysudoku.com/Solving_Technique.html#Subsets
state: StringThe string representation of how the board looks after trying to solve the puzzle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolveReport
impl RefUnwindSafe for SolveReport
impl Send for SolveReport
impl Sync for SolveReport
impl Unpin for SolveReport
impl UnwindSafe for SolveReport
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