pub trait LayoutEngine {
// Required method
fn compute_layout(
&mut self,
root: NodeId,
max_size: Size,
) -> Result<LayoutTree, NodeError>;
}Expand description
Extension trait that equips MemoryApplier with layout computation.