Skip to main content

tree_diff

Function tree_diff 

Source
pub fn tree_diff(old: &SdfNode, new: &SdfNode) -> TreePatch
Expand description

Compute the structural diff between two SDF trees.

Returns a TreePatch describing the minimal set of Replace operations needed to transform old into new.