Skip to main content

label_bytes

Function label_bytes 

Source
pub fn label_bytes(binary: bool) -> impl Fn(f64) -> String + Send + Sync
Expand description

Byte-size formatter. binary = true uses 1024-based KiB/MiB; otherwise 1000-based kB/MB.