pub struct ExpressionEvaluation { /* private fields */ }Expand description
Explainable result of one expression tree.
Implementations§
Source§impl ExpressionEvaluation
impl ExpressionEvaluation
Sourcepub fn evidence_ids(&self) -> &BTreeSet<EvidenceId>
pub fn evidence_ids(&self) -> &BTreeSet<EvidenceId>
Returns evidence that positively contributed to the match.
Sourcepub fn trace(&self) -> &ExpressionTrace
pub fn trace(&self) -> &ExpressionTrace
Returns the complete expression tree trace.
Trait Implementations§
Source§impl Clone for ExpressionEvaluation
impl Clone for ExpressionEvaluation
Source§fn clone(&self) -> ExpressionEvaluation
fn clone(&self) -> ExpressionEvaluation
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 ExpressionEvaluation
impl Debug for ExpressionEvaluation
impl Eq for ExpressionEvaluation
Source§impl PartialEq for ExpressionEvaluation
impl PartialEq for ExpressionEvaluation
Source§impl Serialize for ExpressionEvaluation
impl Serialize for ExpressionEvaluation
impl StructuralPartialEq for ExpressionEvaluation
Auto Trait Implementations§
impl Freeze for ExpressionEvaluation
impl RefUnwindSafe for ExpressionEvaluation
impl Send for ExpressionEvaluation
impl Sync for ExpressionEvaluation
impl Unpin for ExpressionEvaluation
impl UnsafeUnpin for ExpressionEvaluation
impl UnwindSafe for ExpressionEvaluation
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more