1 2 3 4 5 6 7 8 9 10 11 12
use tui::layout::Rect; /// A node for the layout tree. pub enum LayoutNode { Leaf { area: Rect, }, Branch { area: Rect, children: Vec<LayoutNode>, }, }