Skip to main content

compute_node_changes

Function compute_node_changes 

Source
pub fn compute_node_changes(
    old_node: &NodeData,
    new_node: &NodeData,
    old_styled_state: Option<&StyledNodeState>,
    new_styled_state: Option<&StyledNodeState>,
) -> NodeChangeSet
Expand description

Compare two matched NodeData instances field-by-field and return a NodeChangeSet describing what changed.