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