ux-components 0.1.3

Backend agnostic GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub enum CollapseMode {
    // The background widget will scroll in a parallax fashion.
    Parallax = 0,
    // The background widget pin in place until it reaches the min extent.
    Pin = 1,
    // The background widget will act as normal with no collapsing effect.
    None = 2,
}

impl Default for CollapseMode {
    fn default() -> Self {
        Self::Parallax
    }
}