pub struct PatternScore {
pub scores: HashMap<String, f64>,
pub round: usize,
pub generator: String,
}Expand description
Per-evaluator scores for a candidate pattern.
Fields§
§scores: HashMap<String, f64>Named scores from each evaluator that ran.
round: usizeWhich round of the session produced this.
generator: StringWhich generator produced the candidate.
Implementations§
Trait Implementations§
Source§impl Clone for PatternScore
impl Clone for PatternScore
Source§fn clone(&self) -> PatternScore
fn clone(&self) -> PatternScore
Returns a duplicate of the value. Read more
1.0.0 · 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 PatternScore
impl Debug for PatternScore
Source§impl Default for PatternScore
impl Default for PatternScore
Source§fn default() -> PatternScore
fn default() -> PatternScore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PatternScore
impl RefUnwindSafe for PatternScore
impl Send for PatternScore
impl Sync for PatternScore
impl Unpin for PatternScore
impl UnsafeUnpin for PatternScore
impl UnwindSafe for PatternScore
Blanket Implementations§
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