s_meter_line

Function s_meter_line 

Source
fn s_meter_line(reading: SMeterReading) -> Line<'static>
Expand description

Render S-meter bar from an SMeterReading.

Uses as_u8() for the raw reading (0-5) to compute bar width via s_unit() label mapping, and s_unit() for the display label.