Skip to main content

render_lines

Function render_lines 

Source
pub fn render_lines(lines: &[FormatLine], alignment: &Alignment) -> String
Expand description

Render a sequence of FormatLines into a single string, aligning all amount-bearing lines against the file-wide widths implied by alignment. Every line is terminated with \n.