Function initialize_grid_tracks

Source
pub(super) fn initialize_grid_tracks(
    tracks: &mut Vec<GridTrack>,
    counts: TrackCounts,
    style: &impl GridContainerStyle,
    axis: AbsoluteAxis,
    track_has_items: impl Fn(usize) -> bool,
)
Expand description

Resolve the track sizing functions of explicit tracks, automatically created tracks, and gutters given a set of track counts and all of the relevant styles