pub trait DiffMode: Send {
// Required methods
fn generate_watch_diff(
&mut self,
dest: &str,
src: &str,
) -> Vec<Line<'static>>;
fn generate_batch_diff(&mut self, dest: &str, src: &str) -> Vec<String>;
fn get_header_text(&self) -> String;
fn get_support_only_diffline(&self) -> bool;
fn set_option(&mut self, options: DiffModeOptions);
}Expand description
DiffMode