taffy::compute

Function compute_layout

source
pub fn compute_layout(
    tree: &mut impl PartialLayoutTree,
    root: NodeId,
    available_space: Size<AvailableSpace>,
)
Expand description

Updates the stored layout of the provided node and its children