Skip to main content

render_table

Function render_table 

Source
pub fn render_table(
    headers: &[&str],
    rows: &[Vec<String>],
    fmt: Format,
) -> String
Expand description

Render a table of rows. headers.len() must equal each row’s length. Empty input is a no-op.