fn new(root_id: Id) -> Self {
        Tree {
            orphans: HashSet::new(),
            next_node: NodeId(0),
            id_to_node: HashMap::new(),
            nodes: HashMap::new(),
            root: root_id,
        }
    }
/// This is private since it constructs a tree with no root value; use one of the public
/// constructors to create the `Tree` instead.
This is private since it constructs a tree with no root value; use one of the public
constructors to create the `Tree` instead.
This is private since it constructs a tree with no root value ; use one of the public constructors to create the ` Tree ` instead .
fn new(root_id: Id) -> Self {
        Tree {
            orphans: HashSet::new(),
            next_node: NodeId(0),
            id_to_node: HashMap::new(),
            nodes: HashMap::new(),
            root: root_id,
        }
    }
fn new ( root_id : Id ) -> Self { Tree { orphans : HashSet :: new ( ) , next_node : NodeId ( 0 ) , id_to_node : HashMap :: new ( ) , nodes : HashMap :: new ( ) , root : root_id , } }
This is private since it constructs a tree with no root value; use one of the public
constructors to create the `Tree` instead.
This is private since it constructs a tree with no root value ; use one of the public constructors to create the ` Tree ` instead .
root_id
Id