aboutsummaryrefslogtreecommitdiff
path: root/src/ui/pane.rs
blob: 86149d4cb9ae2ca887f80500299674fe989bcc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Debug, Clone, Default)]
pub enum PaneKind {
    #[default]
    EmptyPane,
    FunctionPane,
    GraphPane,
}

#[derive(Clone, Default, Debug)]
pub struct Pane {
    pub kind: PaneKind,
}

impl Pane {
    pub fn new(kind: PaneKind) -> Self {
        Self { kind }
    }
}