Guide API
Skip to main content

format_line

Function format_line 

Source
pub fn format_line(
    model: &dyn TableModel,
    row: usize,
    widths: &[i32],
    cols: &[ColumnSpec],
    sep: char,
) -> String
Expand description

The rendered text of model row row: each visible column padded or truncated to its width, separated by sep.