summaryrefslogtreecommitdiffstats
path: root/src/tuine/element.rs
blob: 14172e227a841b7ad4bb0182c1c2c645380e8fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::Container;

/// A widget within bottom.
///
/// We use an enum to represent them to avoid dynamic dispatch.
pub enum BottomWidget {}

impl BottomWidget {}

/// An [`Element`] represents a node in the overall layout tree.
pub enum Element {
    BottomWidget(BottomWidget),
    Container(Container),
}

impl Element {}