Function mt_dom::diff::diff_recursive

source ·
pub fn diff_recursive<'a, 'b, Ns, Tag, Leaf, Att, Val, Skip, Rep>(
    old_node: &'a Node<Ns, Tag, Leaf, Att, Val>,
    new_node: &'a Node<Ns, Tag, Leaf, Att, Val>,
    path: &TreePath,
    key: &Att,
    skip: &Skip,
    rep: &Rep
) -> Vec<Patch<'a, Ns, Tag, Leaf, Att, Val>>
where Ns: PartialEq + Clone + Debug, Leaf: PartialEq + Clone + Debug, Tag: PartialEq + Debug, Att: PartialEq + Clone + Debug, Val: PartialEq + Clone + Debug, Skip: Fn(&'a Node<Ns, Tag, Leaf, Att, Val>, &'a Node<Ns, Tag, Leaf, Att, Val>) -> bool, Rep: Fn(&'a Node<Ns, Tag, Leaf, Att, Val>, &'a Node<Ns, Tag, Leaf, Att, Val>) -> bool,
Expand description

diff the nodes recursively