fn calculate_width<I, T>(items: I) -> (usize, usize)where
    I: IntoIterator<Item = T>,
    T: AsRef<ListItem>,
Expand description

Returns the count and total width of the list items.