pub struct MetricSet { /* private fields */ }Implementations§
Source§impl MetricSet
impl MetricSet
pub fn new() -> Self
pub fn keys(&self) -> Vec<&'static str>
pub fn flush_all_into(&mut self, target: &mut MetricSet)
pub fn upsert<'a>(&mut self, metric: impl Into<MetricSetUpdate<'a>>)
pub fn iter_tagged<'a>( &'a self, tag: TagKind, ) -> impl Iterator<Item = (&'static str, &'a Metric)>
pub fn iter_stats(&self) -> impl Iterator<Item = &Metric>
pub fn iter_times(&self) -> impl Iterator<Item = &Metric>
pub fn iter(&self) -> impl Iterator<Item = (&'static str, &Metric)>
pub fn add(&mut self, metric: Metric)
pub fn get(&self, name: &str) -> Option<&Metric>
pub fn get_from_string(&self, name: String) -> Option<&Metric>
pub fn clear(&mut self)
pub fn contains_key(&self, name: &str) -> bool
pub fn len(&self) -> usize
pub fn summary(&self) -> MetricSetSummary
pub fn dashboard(&self) -> String
pub fn time(&self) -> Option<&Metric>
pub fn score(&self) -> Option<&Metric>
pub fn improvements(&self) -> Option<&Metric>
pub fn age(&self) -> Option<&Metric>
pub fn replace_age(&self) -> Option<&Metric>
pub fn replace_invalid(&self) -> Option<&Metric>
pub fn genome_size(&self) -> Option<&Metric>
pub fn front_size(&self) -> Option<&Metric>
pub fn front_comparisons(&self) -> Option<&Metric>
pub fn front_removals(&self) -> Option<&Metric>
pub fn front_additions(&self) -> Option<&Metric>
pub fn front_entropy(&self) -> Option<&Metric>
pub fn unique_members(&self) -> Option<&Metric>
pub fn unique_scores(&self) -> Option<&Metric>
pub fn new_children(&self) -> Option<&Metric>
pub fn survivor_count(&self) -> Option<&Metric>
pub fn carryover_rate(&self) -> Option<&Metric>
pub fn evaluation_count(&self) -> Option<&Metric>
pub fn diversity_ratio(&self) -> Option<&Metric>
pub fn score_volatility(&self) -> Option<&Metric>
pub fn species_count(&self) -> Option<&Metric>
pub fn species_age_fail(&self) -> Option<&Metric>
pub fn species_distance_dist(&self) -> Option<&Metric>
pub fn species_created(&self) -> Option<&Metric>
pub fn species_died(&self) -> Option<&Metric>
pub fn species_age(&self) -> Option<&Metric>
pub fn species_size(&self) -> Option<&Metric>
pub fn species_evenness(&self) -> Option<&Metric>
Trait Implementations§
impl StructuralPartialEq for MetricSet
Auto Trait Implementations§
impl Freeze for MetricSet
impl RefUnwindSafe for MetricSet
impl Send for MetricSet
impl Sync for MetricSet
impl Unpin for MetricSet
impl UnsafeUnpin for MetricSet
impl UnwindSafe for MetricSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more