pub enum AnimationDirection {
Normal,
Reverse,
Alternate,
AlternateReverse,
}Expand description
The animation-direction keyword.
Variants§
Normal
normal — play forward each iteration. Default.
Reverse
reverse — play backward each iteration.
Alternate
alternate — alternate forward, backward.
AlternateReverse
alternate-reverse — alternate backward, forward.
Trait Implementations§
Source§impl Clone for AnimationDirection
impl Clone for AnimationDirection
Source§fn clone(&self) -> AnimationDirection
fn clone(&self) -> AnimationDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnimationDirection
Source§impl Debug for AnimationDirection
impl Debug for AnimationDirection
impl Eq for AnimationDirection
Source§impl Hash for AnimationDirection
impl Hash for AnimationDirection
Source§impl PartialEq for AnimationDirection
impl PartialEq for AnimationDirection
Source§fn eq(&self, other: &AnimationDirection) -> bool
fn eq(&self, other: &AnimationDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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