/// Attaches a new node to the reference tree
Attaches a new node to the reference tree
Attaches a new node to the reference tree
fn attach_new_node(node: &mut AuspiceTreeNode, result: &NextcladeOutputs) {
  debug_assert!(node.is_ref_node());
  debug_assert_eq!(node.tmp.id, result.nearest_node_id);
  if node.is_leaf() {
    add_aux_node(node);
  }
  add_child(node, result);
}
fn attach_new_node ( node : & mut AuspiceTreeNode , result : & NextcladeOutputs ) { debug_assert ! ( node is_ref_node ( ) ) ; debug_assert_eq ! ( node tmp id result nearest_node_id ) ; if node . is_leaf ( ) { add_aux_node ( node ) ; } add_child ( node , result ) ; }
Attaches a new node to the reference tree
Attaches a new node to the reference tree
node
&mut AuspiceTreeNode
result
&NextcladeOutputs