Skip to main content

ferroui_base/animation/
playback_direction.rs

1/// Determines the playback direction of an animation.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum PlaybackDirection {
5    /// The animation is played normally.
6    #[default]
7    Normal = 0,
8    /// The animation is played in reverse direction.
9    Reverse = 1,
10    /// The animation is played forwards first, then backwards.
11    Alternate = 2,
12    /// The animation is played backwards first, then forwards.
13    AlternateReverse = 3,
14}