Function mt_dom::diff::diff_with_key[][src]

pub fn diff_with_key<'a, 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>> where
    TAG: PartialEq + Debug,
    ATT: PartialEq + Debug,
    NS: PartialEq + Debug,
    VAL: PartialEq + Debug
Expand description

calculate the difference of 2 nodes