Skip to main content

reset_layout_runtime

Function reset_layout_runtime 

Source
pub fn reset_layout_runtime()
Expand description

Resets the active surface’s layout runtime to a fresh, empty tree. The single-window app/preview harness calls this at construction; a multi-surface runner instead gives each surface its own LayoutContext.