#[non_exhaustive]pub struct Step {
pub level: Difficulty,
pub technique: String,
pub removed: Vec<Literal>,
pub proof: Option<PatternProof>,
}Expand description
One step of a rating, for hints and explanations (L19).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.level: DifficultyThe level of the technique used.
technique: StringThe technique’s stable name, such as hidden_single.
removed: Vec<Literal>The candidates the step removed.
proof: Option<PatternProof>Pattern premises and earlier deductions supporting this step, when available.
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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