Skip to main content

score_set32

Macro score_set32 

Source
macro_rules! score_set32 {
    ($($w:expr => $m:expr),+ $(,)?) => { ... };
}
Expand description

Combine heterogeneous metrics into a zero-vtable, zero-heap-allocation weighted scorer.

Each metric can have a different closure type.

ยงErrors

Returns Err if any weight is not strictly positive (> 0 and finite).