Skip to main content

Module grid

Module grid 

Source
Expand description

CSS properties for CSS Grid layout.

Structs§

GridAutoTracks
Represents grid-auto-columns or grid-auto-rows Structurally identical to GridTemplate but semantically different
GridMinMax
Wrapper for minmax(min, max) to satisfy repr(C) (enum variants can only have 1 field)
GridPlacement
Represents grid-row or grid-column (start / end)
GridTemplate
Represents grid-template-columns or grid-template-rows
GridTrackSizingVec
LayoutGap
NamedGridLine
Named grid line with optional span count (FFI-safe wrapper)

Enums§

GridAutoFlowParseError
GridAutoFlowParseErrorOwned
GridLine
Represents a grid line position (start or end)
GridParseError
GridParseErrorOwned
GridTrackSizing
Represents a single track sizing function for grid
GridTrackSizingVecDestructor
JustifyItemsParseError
JustifyItemsParseErrorOwned
JustifySelfParseError
JustifySelfParseErrorOwned
LayoutGridAutoFlow
Represents the grid-auto-flow property
LayoutJustifyItems
Represents justify-items for grid containers
LayoutJustifySelf
Represents justify-self for grid items

Functions§

parse_grid_placement
parse_grid_template
parse_layout_gap
parse_layout_grid_auto_flow
parse_layout_justify_items
parse_layout_justify_self

Type Aliases§

GridTrackSizingVecDestructorType