Skip to main content

collect_row_indices

Function collect_row_indices 

Source
fn collect_row_indices(
    dims: &[(u32, u32)],
    start: usize,
    canvas_w: f32,
    cfg: LayoutConfig,
) -> (Vec<usize>, usize)
Expand description

Greedily collect item indices that fit into a single row at max height.