Skip to main content

layout

Function layout 

Source
pub fn layout(el: &Element, bounds: Rect, font: Option<&Font>) -> LayoutNode
Expand description

Lay el out within bounds, producing a retained LayoutNode tree with absolute bounds, decorations, text content, and action handles.