Skip to main content

Module layout

Module layout 

Source
Expand description

Layout module: Pre-computed static regions for efficient rendering.

Layouts are computed once at initialization or on terminal resize. There is no tree traversal at render time - just a flat Vec<Region>.

Structsยง

Layout
Pre-computed layout with static regions.
Rect
A rectangle defined by position and size.
Region
A layout region with position and dirty tracking.
RegionId
Unique identifier for a layout region.