Function difft::display::style::apply_colors
source · pub(crate) fn apply_colors(
s: &str,
side: Side,
syntax_highlight: bool,
file_format: &FileFormat,
background: BackgroundColor,
positions: &[MatchedPos]
) -> Vec<String>