ux-components 0.1.3

Backend agnostic GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum BoxHeightStyle {
    Tight = 0,
    Max = 1,
    IncludeLineSpacingMiddle = 2,
    IncludeLineSpacingTop = 3,
    IncludeLineSpacingBottom = 4,
    Strut = 5,
}

impl Default for BoxHeightStyle {
    fn default() -> Self {
        Self::Tight
    }
}