Skip to main content

ancestors_of

Function ancestors_of 

Source
fn ancestors_of(order: &[&Scoped], index: usize) -> Vec<usize>
Expand description

The page of every scope order[index] hangs from, outermost first — one per ancestor segment of its path, which is what the title block’s Path row links each of its own segments to. Pre-order puts every ancestor before its descendants, so the search only ever looks backwards.