/// The place for new widgets, and the bookkeeping required for layouts.
struct Region {
min_rect: Rect,
max_rect: Rect,
/// This + spacing is all you need to figure out the cursor
last_widget: Option<Rect>,
/// Current strategy when choosing where to put next widget.
/// horizontal, vertical etc.
layout: Layout,
}
#[test]
fn foo() {
let ui = Ui::test();
}