pub struct ExplanationStep {
pub step_number: usize,
pub goal: String,
pub rule_name: Option<String>,
pub condition: String,
pub bindings: HashMap<String, String>,
pub result: StepResult,
pub depth: usize,
}Expand description
Step-by-step explanation of reasoning
Fields§
§step_number: usizeStep number
goal: StringGoal being proven
rule_name: Option<String>Rule used (if any)
condition: StringCondition evaluated
bindings: HashMap<String, String>Variable bindings at this step
result: StepResultResult of this step
depth: usizeDepth in reasoning tree
Implementations§
Trait Implementations§
Source§impl Clone for ExplanationStep
impl Clone for ExplanationStep
Source§fn clone(&self) -> ExplanationStep
fn clone(&self) -> ExplanationStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExplanationStep
impl RefUnwindSafe for ExplanationStep
impl Send for ExplanationStep
impl Sync for ExplanationStep
impl Unpin for ExplanationStep
impl UnwindSafe for ExplanationStep
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