pub trait SetNodeAtIndex { // Required method fn set_node_at_index(&mut self, idx: usize, n: NodeId); }