pub fn diff<'a, V, D>(l: &'a V, r: &'a V, d: &mut D)
Expand description
A generic diff algorithm suitable for Value
types as seen in serialization/deserialization
libraries.
Such types can represent any tree-like data structure, which will be traversed to find additions, removals, modifications and even portions that did not change at all.
§Parameters
l
- the left Valuer
- the right Valued
- aDelegate
to receive information about changes betweenl
andr