pub fn find_first<'a, F>(data: &'a [Metric], f: F) -> &'a Metricwhere for<'r> F: FnMut(&'r &'a Metric) -> bool,
Returns the first metric that evaluates to “true” for the function.