taffy::compute

Function compute_hidden_layout

source
pub fn compute_hidden_layout(
    tree: &mut impl PartialLayoutTree,
    node: NodeId,
) -> LayoutOutput
Expand description

Creates a layout for this node and its children, recursively. Each hidden node has zero size and is placed at the origin