Skip to main content

Module layout

Module layout 

Source
Expand description

Layout Engine — Taffy integration for Flexbox + CSS Grid computation.

The layout engine owns the Taffy tree and computes absolute positions for every node. It runs on a background thread (layout can be expensive) and produces a LayoutResult that the mount phase consumes.

Structs§

ComputedLayout
Computed layout for a single node — absolute screen coordinates.
Edges
LayoutEngine
LayoutStyle
Framework-level layout style (what the developer writes in JSX). This is a subset of CSS that maps cleanly to Taffy.

Enums§

AlignItems
Dimension
Display
FlexDirection
FlexWrap
JustifyContent
LayoutError
Overflow
Position