[−][src]Function sauron::diff
pub fn diff<T>(old: &'a Node<T>, new: &'a Node<T>) -> Vec<Patch<'a, T>> where
T: PartialEq<T>,
Given two Node's generate Patch's that would turn the old virtual node's real DOM node equivalent into the new Node's real DOM node equivalent.