Skip to main content

leg_index

Function leg_index 

Source
fn leg_index(leg: Leg) -> usize
Expand description

This leg’s row in ProxyStats::per_leg.

An index rather than a match at each writer, for the reason Direction::index gives: charging a cell stays one relaxed fetch_add at a known offset.