resolve_cellgrid

Function resolve_cellgrid 

Source
pub fn resolve_cellgrid<'a, T, C, I>(
    tracks: Axes<&'a [Sizing]>,
    gutter: Axes<&'a [Sizing]>,
    children: C,
    fill: &'a Celled<Option<Paint>>,
    align: &'a Celled<Smart<Alignment>>,
    inset: &'a Celled<Sides<Option<Rel<Length>>>>,
    stroke: &'a ResolvedCelled<Sides<Option<Option<Arc<Stroke>>>>>,
    engine: &'a mut Engine<'_>,
    styles: StyleChain<'a>,
    span: Span,
) -> SourceResult<CellGrid>
Expand description

Resolves and positions all cells in the grid before creating it. Allows them to keep track of their final properties and positions and adjust their fields accordingly. Cells must implement Clone as they will be owned. Additionally, they must implement Default in order to fill positions in the grid which weren’t explicitly specified by the user with empty cells.