summaryrefslogtreecommitdiffstats
path: root/native/src/widget/pane_grid/content.rs
blob: 6b0bd99aefd3a678b01a47e573c2cf4f8eb7d3b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use crate::pane_grid::Axis;

#[derive(Debug, Clone)]
pub enum Content<T> {
    Split {
        axis: Axis,
        ratio: f32,
        a: Box<Content<T>>,
        b: Box<Content<T>>,
    },
    Pane(T),
}