fey_ase 0.1.2

Aseprite file parser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// How an animation should loop.
#[repr(u8)]
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, strum::FromRepr)]
pub enum LoopDir {
    /// Play forward, looping around to the beginning.
    Forward = 0,

    /// Starting at the end, play in reverse, looping around.
    Reverse = 1,

    /// Instead of looping, reverse animation direction at the end.
    PingPong = 2,

    /// The same as [`PingPong`](LoopDir::PingPong), but starting at the end.
    PingPongReverse = 3,
}