Skip to main content

render

Function render 

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

Render rows under headers as a table with box-drawing borders.

A row with fewer cells than there are headers is padded with blanks, so a caller never has to pad by hand.