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