Function difft::display::style::apply_line
source · fn apply_line(line: &str, styles: &[(SingleLineSpan, Style)]) -> String
Expand description
Return a copy of line
with styles applied to all the spans
specified.
fn apply_line(line: &str, styles: &[(SingleLineSpan, Style)]) -> String
Return a copy of line
with styles applied to all the spans
specified.