pub struct NaryInductionResult {
pub candidates: Vec<ScoredNaryCandidate>,
pub total_scored: u32,
pub candidate_count: u32,
pub positive_count: u32,
pub negative_count: u32,
}Expand description
Result of one induce_exact_nary call.
total_scored counts patterns actually scored by the kernel; the
trivial early-outs (no candidates, no patterns, k == 0, no positive
examples) report 0 and an empty candidate list.
Fields§
§candidates: Vec<ScoredNaryCandidate>§total_scored: u32§candidate_count: u32§positive_count: u32§negative_count: u32Trait Implementations§
Source§impl Clone for NaryInductionResult
impl Clone for NaryInductionResult
Source§fn clone(&self) -> NaryInductionResult
fn clone(&self) -> NaryInductionResult
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 NaryInductionResult
impl Debug for NaryInductionResult
Source§impl Default for NaryInductionResult
impl Default for NaryInductionResult
Source§fn default() -> NaryInductionResult
fn default() -> NaryInductionResult
Returns the “default value” for a type. Read more
impl Eq for NaryInductionResult
Source§impl PartialEq for NaryInductionResult
impl PartialEq for NaryInductionResult
Source§fn eq(&self, other: &NaryInductionResult) -> bool
fn eq(&self, other: &NaryInductionResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NaryInductionResult
Auto Trait Implementations§
impl Freeze for NaryInductionResult
impl RefUnwindSafe for NaryInductionResult
impl Send for NaryInductionResult
impl Sync for NaryInductionResult
impl Unpin for NaryInductionResult
impl UnsafeUnpin for NaryInductionResult
impl UnwindSafe for NaryInductionResult
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