[−][src]Function sauron::diff
pub fn diff<T, EVENT, MSG>(
old: &'a Node<T, EVENT, MSG>,
new: &'a Node<T, EVENT, MSG>
) -> Vec<Patch<'a, T, EVENT, MSG>> 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.