Skip to main content

compare_nodes_in_same_parent

Function compare_nodes_in_same_parent 

Source
fn compare_nodes_in_same_parent<Traversal: NoGcTraversal>(
    no_gc: &NoGC,
    node_a: &Node,
    node_b: &Node,
) -> Ordering
Expand description

Compare two nodes that are both children of the same parent node.