Skip to main content

render_table

Function render_table 

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

Render a whitespace-aligned table with an underlined header row.