taffy::compute

Function compute_root_layout

Source
pub fn compute_root_layout(
    tree: &mut impl LayoutPartialTree,
    root: NodeId,
    available_space: Size<AvailableSpace>,
)
Expand description

Compute layout for the root node in the tree