gix_features::progress::unit

Function label_and_mode

source
pub fn label_and_mode(label: &'static str, mode: Mode) -> Unit
Available on crate feature progress only.
Expand description

Returns a unit that is a static label along with information on where to display a fraction and throughput.