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
16
17
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum AnimationStatus {
    // The animation is stopped at the beginning.
    Dismissed = 0,
    // The animation is running from beginning to end.
    Forward = 1,
    // The animation is running backwards, from end to beginning.
    Reverse = 2,
    // The animation is stopped at the end.
    Completed = 3,
}

impl Default for AnimationStatus {
    fn default() -> Self {
        Self::Dismissed
    }
}