Function taffy::compute::grid::placement::place_grid_items

source ยท
pub(super) fn place_grid_items<'a, S, ChildIter>(
    cell_occupancy_matrix: &mut CellOccupancyMatrix,
    items: &mut Vec<GridItem>,
    children_iter: impl Fn() -> ChildIter,
    grid_auto_flow: GridAutoFlow,
    align_items: AlignItems,
    justify_items: AlignItems,
)
where S: GridItemStyle + 'a, ChildIter: Iterator<Item = (usize, NodeId, S)>,
Expand description

8.5. Grid Item Placement Algorithm Place items into the grid, generating new rows/column into the implicit grid as required

Specification