Skip to main content

split_sizes

Function split_sizes 

Source
pub fn split_sizes(
    area: LayoutRect,
    orientation: Orientation,
    weights: &[u16],
    child_count: usize,
    gap: u16,
) -> Vec<u16>
Expand description

Extract the per-child dimension sizes from a split result.