pub fn new_with_array_root(root_id: Id) -> Self {
        let mut tree = Self::new(root_id.clone());
        tree.construct_array(root_id).unwrap();
        tree.orphans = HashSet::new();
        tree
    }
/// Creates a new `Tree` representing an empty array.
Creates a new `Tree` representing an empty array.
Creates a new ` Tree ` representing an empty array .
pub fn new_with_array_root(root_id: Id) -> Self {
        let mut tree = Self::new(root_id.clone());
        tree.construct_array(root_id).unwrap();
        tree.orphans = HashSet::new();
        tree
    }
pub fn new_with_array_root ( root_id : Id ) -> Self { let mut tree = Self :: new ( root_id . clone ( ) ) ; tree . construct_array ( root_id ) . unwrap ( ) ; tree . orphans = HashSet :: new ( ) ; tree }
Creates a new `Tree` representing an empty array.
Creates a new ` Tree ` representing an empty array .
root_id
Id