pub struct SolveStepInfo {
pub step_type: String,
pub row: usize,
pub col: usize,
pub value: u8,
pub technique: String,
pub step_number: u32,
pub candidates_eliminated: u32,
pub related_cell_count: u8,
pub difficulty_point: u8,
pub candidate_changes: Vec<CandidateChange>,
}Expand description
Flat, serialisable representation of a single solve step.
Fields§
§step_type: String"placement" or "elimination".
row: usize§col: usize§value: u8§technique: StringHuman-readable name of the technique used (e.g. "Naked Singles").
step_number: u32§candidates_eliminated: u32§difficulty_point: u8Difficulty metric (0 = trivial, 10 = hardest).
candidate_changes: Vec<CandidateChange>Trait Implementations§
Source§impl Clone for SolveStepInfo
impl Clone for SolveStepInfo
Source§fn clone(&self) -> SolveStepInfo
fn clone(&self) -> SolveStepInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SolveStepInfo
impl Debug for SolveStepInfo
Source§impl<'de> Deserialize<'de> for SolveStepInfo
impl<'de> Deserialize<'de> for SolveStepInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SolveStep> for SolveStepInfo
impl From<&SolveStep> for SolveStepInfo
Auto Trait Implementations§
impl Freeze for SolveStepInfo
impl RefUnwindSafe for SolveStepInfo
impl Send for SolveStepInfo
impl Sync for SolveStepInfo
impl Unpin for SolveStepInfo
impl UnsafeUnpin for SolveStepInfo
impl UnwindSafe for SolveStepInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more