Skip to main content

reset_layout_engine

Function reset_layout_engine 

Source
pub fn reset_layout_engine()
Expand description

Drop the retained layout/paint tree on this thread.

Tests and hot reload use this to start a composition from an empty engine; the next layout_and_paint rebuilds it from the passed root.