pub fn generate_diff(
ui: &Ui,
writer: &mut dyn Write,
trees: [&MergedTree; 2],
matcher: &dyn Matcher,
tool: &ExternalMergeTool,
default_conflict_marker_style: ConflictMarkerStyle,
width: usize,
) -> Result<(), DiffGenerateError>Expand description
Generates textual diff by the specified tool and writes into writer.