pub enum AsepriteAnimationDirection {
Forward,
Reverse,
PingPong,
}
Expand description
Animation Direction
Variants§
Forward
Forward animation direction
When encountering the end, starts from the beginning
Reverse
Reverse animation direction
When encountering the start, starts from the end
PingPong
Ping-Pong animation direction
Starts at beginning and reverses direction whenever it hits either end or beginning
Trait Implementations§
Source§impl Clone for AsepriteAnimationDirection
impl Clone for AsepriteAnimationDirection
Source§fn clone(&self) -> AsepriteAnimationDirection
fn clone(&self) -> AsepriteAnimationDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AsepriteAnimationDirection
impl Debug for AsepriteAnimationDirection
impl Copy for AsepriteAnimationDirection
Auto Trait Implementations§
impl Freeze for AsepriteAnimationDirection
impl RefUnwindSafe for AsepriteAnimationDirection
impl Send for AsepriteAnimationDirection
impl Sync for AsepriteAnimationDirection
impl Unpin for AsepriteAnimationDirection
impl UnwindSafe for AsepriteAnimationDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more