Skip to main content

ancestor_links

Function ancestor_links 

Source
fn ancestor_links(
    text: &Measured<'_>,
    page: &Page<'_>,
    cell: &Laid,
    at: Placed,
) -> Vec<(Rect, usize, String)>
Expand description

A link over each ancestor segment of cell’s path, aimed at that ancestor’s page. The last segment names this page and gets none; a segment the line had no room for was dropped, and its link with it.