#[repr(C)]pub struct SemanticTransitionWork {
pub edit_commands: u64,
pub added_supports: u64,
pub defined_truth_changes: u64,
}Expand description
Work performed by the two semantic edits of one learned candidate. These are device counters, not estimates from the sampled actions or final truth alone.
Fields§
§edit_commands: u64Calls to the modifying semantic owner, including a call that refuses. A NO_EDIT or a suppressed edit does not call that owner.
added_supports: u64New reachable support attachments, or new materialized facts for an editable program, made before any candidate discard.
defined_truth_changes: u64Successful support edits that change a truth other than NEITHER, or changed query truths after program materialization.
Trait Implementations§
Source§impl Clone for SemanticTransitionWork
impl Clone for SemanticTransitionWork
Source§fn clone(&self) -> SemanticTransitionWork
fn clone(&self) -> SemanticTransitionWork
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 moreimpl Copy for SemanticTransitionWork
Source§impl Debug for SemanticTransitionWork
impl Debug for SemanticTransitionWork
Source§impl Default for SemanticTransitionWork
impl Default for SemanticTransitionWork
Source§fn default() -> SemanticTransitionWork
fn default() -> SemanticTransitionWork
Returns the “default value” for a type. Read more
impl Eq for SemanticTransitionWork
Source§impl PartialEq for SemanticTransitionWork
impl PartialEq for SemanticTransitionWork
impl StructuralPartialEq for SemanticTransitionWork
Auto Trait Implementations§
impl Freeze for SemanticTransitionWork
impl RefUnwindSafe for SemanticTransitionWork
impl Send for SemanticTransitionWork
impl Sync for SemanticTransitionWork
impl Unpin for SemanticTransitionWork
impl UnsafeUnpin for SemanticTransitionWork
impl UnwindSafe for SemanticTransitionWork
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