MCPcopy Create free account
hub / github.com/elastic/devfiler / fmt

Method fmt

src/ui/util.rs:129–132  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

127
128impl 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected