Skip to main content

GridAreasMap

Type Alias GridAreasMap 

Source
pub(crate) type GridAreasMap<S> = HashMap<StrHasher<S>, AreaLines, RandomState>;
Expand description

Map from the name of a grid area to the lines of its edges.

This is how the <area-name>-start and <area-name>-end line names that grid-template-areas implicitly generates are represented: storing them as line names would require allocating a string for each of them.

Aliased Typeยง

pub(crate) struct GridAreasMap<S> { /* private fields */ }