pub fn new(arena: &'arena Arena<Node>, root: &'arena Node, cursor_path: Path) -> Self {
        Dag {
            arena,
            root_history: vec![Snapshot::new(
                cursor_path.clone(),
                root,
                cursor_path.clone(),
            )],
            history_index: 0,
            current_cursor_path: cursor_path,
            cursor_location_history: HashMap::new(),
        }
    }
/// Builds a new `Dag`, given the tree it should contain
Builds a new `Dag`, given the tree it should contain
Builds a new ` Dag ` given the tree it should contain
pub fn new(arena: &'arena Arena<Node>, root: &'arena Node, cursor_path: Path) -> Self {
        Dag {
            arena,
            root_history: vec![Snapshot::new(
                cursor_path.clone(),
                root,
                cursor_path.clone(),
            )],
            history_index: 0,
            current_cursor_path: cursor_path,
            cursor_location_history: HashMap::new(),
        }
    }
pub fn new ( arena : & ' arena Arena < Node > , root : & ' arena Node , cursor_path : Path ) -> Self { Dag { arena , root_history : vec ! [ Snapshot new ( cursor_path clone ( ) root cursor_path clone ( ) ) ] , history_index : 0 , current_cursor_path : cursor_path , cursor_location_history : HashMap :: new ( ) , } }
Builds a new `Dag`, given the tree it should contain
Builds a new ` Dag ` given the tree it should contain
arena
&'arena Arena<Node>
root
&'arena Node
cursor_path
Path
arena
&'arena Arena<Node>
root
&'arena Node
cursor_path
Path