pub enum TraceReason {
Asserted(Origin),
Derived {
origin: Origin,
from: Vec<String>,
},
}Expand description
Why a TraceStep atom holds its value.
Variants§
Asserted(Origin)
Asserted directly by a FACT / NOT.
Derived
Derived by a RULE whose antecedent atoms all held.
Trait Implementations§
Source§impl Clone for TraceReason
impl Clone for TraceReason
Source§fn clone(&self) -> TraceReason
fn clone(&self) -> TraceReason
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 TraceReason
impl Debug for TraceReason
impl Eq for TraceReason
Source§impl PartialEq for TraceReason
impl PartialEq for TraceReason
Source§fn eq(&self, other: &TraceReason) -> bool
fn eq(&self, other: &TraceReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TraceReason
Auto Trait Implementations§
impl Freeze for TraceReason
impl RefUnwindSafe for TraceReason
impl Send for TraceReason
impl Sync for TraceReason
impl Unpin for TraceReason
impl UnsafeUnpin for TraceReason
impl UnwindSafe for TraceReason
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