Skip to main content

keeps_metric_name

Function keeps_metric_name 

Source
fn keeps_metric_name(matching: &BinaryMatching) -> bool
Expand description

Whether a binary operation reports the samples of the side it keeps, name included.

A filtering comparison reports those samples, so the name survives it. Every other binary operation computes new values, and bool reports the comparison’s own outcome rather than either operand’s samples, so both drop the name.