Skip to main content

run_layout

Function run_layout 

Source
pub fn run_layout(
    root: &BoxNode,
    viewport: (f32, f32),
    ctx: &ConversionContext,
) -> LayoutResult
Expand description

Run taffy on a BoxNode tree and return the resolved layouts.