Function lay_rs::prelude::taffy::compute_leaf_layout

pub fn compute_leaf_layout<MeasureFunction>(
    inputs: LayoutInput,
    style: &Style,
    measure_function: MeasureFunction,
) -> LayoutOutput
where MeasureFunction: FnOnce(Size<Option<f32>>, Size<AvailableSpace>) -> Size<f32>,
Expand description

Compute the size of a leaf node (node with no children)