Struct difflib::differ::Differ [−][src]
pub struct Differ { pub line_junk: Option<fn(_: &&str) -> bool>, pub char_junk: Option<fn(_: &char) -> bool>, }
Fields
line_junk: Option<fn(_: &&str) -> bool>
char_junk: Option<fn(_: &char) -> bool>
Methods
impl Differ
[src]
impl Differ
pub fn new() -> Differ
[src]
pub fn new() -> Differ
pub fn compare(
&self,
first_sequence: &[&str],
second_sequence: &[&str]
) -> Vec<String>
[src]
pub fn compare(
&self,
first_sequence: &[&str],
second_sequence: &[&str]
) -> Vec<String>
pub fn restore(delta: &[String], which: usize) -> Vec<String>
[src]
pub fn restore(delta: &[String], which: usize) -> Vec<String>