Skip to main content

move_node

Function move_node 

Source
pub fn move_node(
    tree: &mut NodeTree,
    id: &NodeId,
    new_parent: Option<NodeId>,
) -> Result<()>
Expand description

Reparent id under new_parent. Cycle and root errors surface as-is.