Skip to main content

ferroui_base/animation/
play_state.rs

1/// Determines the playback state of an animation.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum PlayState {
5    /// The animation is running.
6    #[default]
7    Run = 0,
8    /// The animation is paused.
9    Pause = 1,
10    /// The animation is stopped.
11    Stop = 2,
12}