Function similar::algorithms::capture_diff [−][src]
pub fn capture_diff<Old: ?Sized, New: ?Sized>(
alg: Algorithm,
old: &Old,
old_range: Range<usize>,
new: &New,
new_range: Range<usize>
) -> Vec<DiffOp> where
Old: Index<usize>,
New: Index<usize>,
Old::Output: Hash + Eq + Ord,
New::Output: PartialEq<Old::Output> + Hash + Eq + Ord,