Skip to main content

table_widths

Function table_widths 

Source
pub fn table_widths<const N: usize>(
    headers: &[&str; N],
    rows: &[[String; N]],
) -> [usize; N]
Expand description

Compute per-column display widths from headers and rows.