taffy::compute::grid::implicit_grid

Function get_known_child_positions

Source
fn get_known_child_positions<'a, S: GridItemStyle + 'a>(
    children_iter: impl Iterator<Item = S>,
    explicit_col_count: u16,
    explicit_row_count: u16,
) -> (OriginZeroLine, OriginZeroLine, u16, OriginZeroLine, OriginZeroLine, u16)
Expand description

Iterate over children, producing an estimate of the min and max grid lines along with the span of each item

Min and max grid lines are returned in origin-zero coordinates) The span is measured in tracks spanned