pub fn fold_index<F>(f: &mut F, node: Index) -> Indexwhere
    F: Fold + ?Sized,