Enum asefile::AnimationDirection
source · pub enum AnimationDirection {
Forward,
Reverse,
PingPong,
}
Expand description
Describes how the tag’s frames should be animated.
Variants§
Forward
Start at from_frame
and count up to to_frame
.
Reverse
Start at to_frame
and count down to from_frame
.
PingPong
Start at from_frame
, count up to to_frame
, then back down to from_frame
.
Trait Implementations§
source§impl Clone for AnimationDirection
impl Clone for AnimationDirection
source§fn clone(&self) -> AnimationDirection
fn clone(&self) -> AnimationDirection
Returns a copy 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 AnimationDirection
impl Debug for AnimationDirection
source§impl PartialEq for AnimationDirection
impl PartialEq for AnimationDirection
source§fn eq(&self, other: &AnimationDirection) -> bool
fn eq(&self, other: &AnimationDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AnimationDirection
impl Eq for AnimationDirection
impl StructuralPartialEq for AnimationDirection
Auto Trait Implementations§
impl Freeze for AnimationDirection
impl RefUnwindSafe for AnimationDirection
impl Send for AnimationDirection
impl Sync for AnimationDirection
impl Unpin for AnimationDirection
impl UnwindSafe for AnimationDirection
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