width_for_count

Function width_for_count 

Source
pub fn width_for_count(count: usize) -> usize
Expand description

Calculate minimum width needed to display numbers up to count - 1.