Helper: format a number as a string and emit a text element.
(&mut self, value: f32, config_index: usize)
| 7212 | |
| 7213 | /// Helper: format a number as a string and emit a text element. |
| 7214 | fn debug_int_text(&mut self, value: f32, config_index: usize) { |
| 7215 | let s = format!("{}", value as i32); |
| 7216 | self.open_text_element(&s, config_index); |
| 7217 | } |
| 7218 | |
| 7219 | /// Helper: format a float with 2 decimal places and emit a text element. |
| 7220 | fn debug_float_text(&mut self, value: f32, config_index: usize) { |
no test coverage detected