pub struct Explanation {
pub name: RulePath,
pub result: OperationResult,
pub result_type: Arc<LemmaType>,
pub body: String,
pub causes: Vec<Cause>,
pub children: Vec<ExplanationNode>,
pub rules: Vec<ExplainedRule>,
/* private fields */
}Fields§
§name: RulePath§result: OperationResult§result_type: Arc<LemmaType>Type of Self::result for measure/ratio rendering (binding unit, decimals).
body: String§causes: Vec<Cause>§children: Vec<ExplanationNode>§rules: Vec<ExplainedRule>Reachable narrated rules, ids in first-reach order from this root.
Trait Implementations§
Source§impl Clone for Explanation
impl Clone for Explanation
Source§impl Debug for Explanation
impl Debug for Explanation
Auto Trait Implementations§
impl Freeze for Explanation
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnsafeUnpin for Explanation
impl UnwindSafe for Explanation
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