Skip to main content

record_grid_placement

Function record_grid_placement 

Source
fn record_grid_placement(
    cell_occupancy_matrix: &mut CellOccupancyMatrix,
    item: &mut GridItem,
    primary_axis: AbsoluteAxis,
    primary_span: Line<OriginZeroLine>,
    secondary_span: Line<OriginZeroLine>,
    placement_type: CellOccupancyState,
)
Expand description

Record the grid item’s placement in both the CellOccupancyMatrix and the item itself once a definite placement has been determined