fn apply_line(line: &str, styles: &[(SingleLineSpan, Style)]) -> String
Expand description

Return a copy of line with styles applied to all the spans specified.