pub fn apply_patch( tree: &SdfNode, patch: &TreePatch, ) -> Result<SdfNode, DiffError>
Apply a patch to an SDF tree, producing a new tree.