diff

Function diff 

Source
pub fn diff(old: &Buffer, new: &Buffer, dirty_rects: &[Rect]) -> Vec<Change>
Expand description

Compute the differences between two buffers within specified dirty regions.