pub struct ScoredNaryCandidate {
pub head_rel_idx: RelId,
pub body_rel_idxs: Vec<RelId>,
pub pattern: NaryRulePattern,
pub positives_covered: u32,
pub negatives_covered: u32,
pub local_rank: u32,
pub next_positives_covered: u32,
pub next_negatives_covered: u32,
pub tie_class_size: u32,
}Expand description
One kept pattern with full metadata and diagnostics.
Fields§
§head_rel_idx: RelId§body_rel_idxs: Vec<RelId>Relation identity of each body atom, in body order — the
candidate_slot of the corresponding NaryRulePattern atom
resolved against the request’s candidate list.
pattern: NaryRulePatternThe full canonical pattern (bindings included), for rule assembly.
positives_covered: u32§negatives_covered: u32§local_rank: u32§next_positives_covered: u32§next_negatives_covered: u32§tie_class_size: u32Trait Implementations§
Source§impl Clone for ScoredNaryCandidate
impl Clone for ScoredNaryCandidate
Source§fn clone(&self) -> ScoredNaryCandidate
fn clone(&self) -> ScoredNaryCandidate
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 ScoredNaryCandidate
impl Debug for ScoredNaryCandidate
impl Eq for ScoredNaryCandidate
Source§impl PartialEq for ScoredNaryCandidate
impl PartialEq for ScoredNaryCandidate
Source§fn eq(&self, other: &ScoredNaryCandidate) -> bool
fn eq(&self, other: &ScoredNaryCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScoredNaryCandidate
Auto Trait Implementations§
impl Freeze for ScoredNaryCandidate
impl RefUnwindSafe for ScoredNaryCandidate
impl Send for ScoredNaryCandidate
impl Sync for ScoredNaryCandidate
impl Unpin for ScoredNaryCandidate
impl UnsafeUnpin for ScoredNaryCandidate
impl UnwindSafe for ScoredNaryCandidate
Blanket Implementations§
impl<T> Allocation for T
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