pub struct SemanticTaskEvaluation {
pub binding: Identity256,
pub query_count: u64,
pub winner: u64,
pub return_value: i64,
pub facts: [SemanticTaskFacts; 3],
}Expand description
One native evaluation of the fixed base/learned roster. The selector runs only on device; these are the resulting facts, not caller-supplied scores.
Fields§
§binding: Identity256§query_count: u64§winner: u64§return_value: i64§facts: [SemanticTaskFacts; 3]Trait Implementations§
Source§impl Clone for SemanticTaskEvaluation
impl Clone for SemanticTaskEvaluation
Source§fn clone(&self) -> SemanticTaskEvaluation
fn clone(&self) -> SemanticTaskEvaluation
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 SemanticTaskEvaluation
impl Debug for SemanticTaskEvaluation
impl Eq for SemanticTaskEvaluation
Source§impl PartialEq for SemanticTaskEvaluation
impl PartialEq for SemanticTaskEvaluation
impl StructuralPartialEq for SemanticTaskEvaluation
Auto Trait Implementations§
impl Freeze for SemanticTaskEvaluation
impl RefUnwindSafe for SemanticTaskEvaluation
impl Send for SemanticTaskEvaluation
impl Sync for SemanticTaskEvaluation
impl Unpin for SemanticTaskEvaluation
impl UnsafeUnpin for SemanticTaskEvaluation
impl UnwindSafe for SemanticTaskEvaluation
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