pub fn tree_root(document: &IndexedDocument<'_>) -> ScopeExpand description
The scope the document hangs from — its designated top block, or the document root while there is none (the root is a scope like any other, and a fresh boot has no top block). The navigator’s tree, the PDF’s first page and the canvas’s outermost frame all start here.