pub trait LayoutEngine {
// Required method
fn compute_layout(
&mut self,
root: usize,
max_size: Size,
) -> Result<LayoutTree, NodeError>;
}Expand description
Re-export the UI crate so applications can depend on a single crate.
Extension trait that equips MemoryApplier with layout computation.