Expand description
CSS properties for CSS Grid layout.
Structs§
- Grid
Area Definition - A single named grid area with its row/column bounds (1-based grid line numbers).
This matches taffy’s
GridTemplateArea<String>. - Grid
Area Definition Vec - Grid
Area Definition VecSlice - C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
- Grid
Auto Tracks - Represents
grid-auto-columnsorgrid-auto-rowsStructurally identical to GridTemplate but semantically different - Grid
MinMax - Wrapper for minmax(min, max) to satisfy repr(C) (enum variants can only have 1 field)
- Grid
Placement - Represents
grid-roworgrid-column(start / end) - Grid
Template - Represents
grid-template-columnsorgrid-template-rows - Grid
Template Areas - Represents the parsed value of
grid-template-areas. - Grid
Track Sizing Vec - Grid
Track Sizing VecSlice - C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
- Layout
Gap - Named
Grid Line - Named grid line with optional span count (FFI-safe wrapper)
Enums§
- Grid
Area Definition VecDestructor - Grid
Auto Flow Parse Error - Grid
Auto Flow Parse Error Owned - Grid
Line - Represents a grid line position (start or end)
- Grid
Parse Error - Grid
Parse Error Owned - Grid
Track Sizing - Represents a single track sizing function for grid
- Grid
Track Sizing VecDestructor - Justify
Items Parse Error - Justify
Items Parse Error Owned - Justify
Self Parse Error - Justify
Self Parse Error Owned - Layout
Grid Auto Flow - Represents the
grid-auto-flowproperty - Layout
Justify Items - Represents
justify-itemsfor grid containers - Layout
Justify Self - Represents
justify-selffor grid items - Option
Grid Area Definition - Option
Grid Track Sizing
Functions§
- parse_
grid_ line_ owned - parse_
grid_ placement - parse_
grid_ template - parse_
grid_ template_ areas - Parse
grid-template-areasCSS value. - parse_
layout_ gap - parse_
layout_ grid_ auto_ flow - parse_
layout_ justify_ items - parse_
layout_ justify_ self