(&self, f: &mut fmt::Formatter<'_>)
| 127 | |
| 128 | impl fmt::Display for HumanCount { |
| 129 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 130 | let Self(s, d, u) = *self; |
| 131 | write!(f, "{s:.d$}{u}") |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | /// Generate a nice color the same way as [`egui_plot`] does it. |
nothing calls this directly
no outgoing calls
no test coverage detected