Function git_features::progress::unit::label_and_mode[][src]

pub fn label_and_mode(label: &'static str, mode: Mode) -> Unit

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