[−][src]Function sauron_vdom::diff_with_key
pub fn diff_with_key<'a, T, ATT, EVENT, MSG>(
old: &'a Node<T, ATT, EVENT, MSG>,
new: &'a Node<T, ATT, EVENT, MSG>,
key: &ATT
) -> Vec<Patch<'a, T, ATT, EVENT, MSG>> where
MSG: 'static,
EVENT: 'static,
T: PartialEq,
ATT: PartialEq + Ord + ToString + Clone,
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.