taffy::compute

Function compute_block_layout

source
pub fn compute_block_layout(
    tree: &mut impl PartialLayoutTree,
    node_id: NodeId,
    inputs: LayoutInput,
) -> LayoutOutput
Expand description

Computes the layout of PartialLayoutTree according to the block layout algorithm