Function sauron::prelude::mt_dom::diff_with_key [−]
pub fn diff_with_key<NS, TAG, ATT, VAL, EVENT, MSG>(
old_node: &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>,
new_node: &'a Node<NS, TAG, ATT, VAL, EVENT, MSG>,
key: &ATT
) -> Vec<Patch<'a, NS, TAG, ATT, VAL, EVENT, MSG>, Global>ⓘ where
TAG: PartialEq<TAG> + Debug,
NS: PartialEq<NS> + Debug,
ATT: PartialEq<ATT> + Debug,
VAL: PartialEq<VAL> + Debug,
Expand description
calculate the difference of 2 nodes