[][src]Function sauron_vdom::diff

pub fn diff<'a, T>(old: &'a Node<T>, new: &'a Node<T>) -> Vec<Patch<'a, T>> where
    T: PartialEq

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.