Skip to main content

build_semantics_tree_from_layout_tree

Function build_semantics_tree_from_layout_tree 

Source
pub fn build_semantics_tree_from_layout_tree(
    layout_tree: &LayoutTree,
) -> SemanticsTree
Expand description

Builds a semantics tree from an existing LayoutTree.

This is useful for consumers that need semantics on demand without forcing every layout pass to eagerly allocate a full SemanticsTree.