pub fn calculate_layout(
total_space: impl Into<Vec2>,
rows: Vec<(Constraint, Vec<Constraint>)>,
) -> Result<Vec<Vec<Rect>>, LayoutError>Expand description
Calculates the layout of a grid, resolving constraints for rows and columns.
pub fn calculate_layout(
total_space: impl Into<Vec2>,
rows: Vec<(Constraint, Vec<Constraint>)>,
) -> Result<Vec<Vec<Rect>>, LayoutError>Calculates the layout of a grid, resolving constraints for rows and columns.