pub enum AnimationState {
Playing,
Paused,
Finished,
}Expand description
Represents the current playback state of an animation.
Variants§
Playing
The animation is currently playing.
Paused
The animation is paused and can be resumed.
Finished
The animation has finished (reached the end in Once mode).
Trait Implementations§
Source§impl Clone for AnimationState
impl Clone for AnimationState
Source§fn clone(&self) -> AnimationState
fn clone(&self) -> AnimationState
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 AnimationState
Source§impl Debug for AnimationState
impl Debug for AnimationState
Source§impl Default for AnimationState
impl Default for AnimationState
Source§fn default() -> AnimationState
fn default() -> AnimationState
Returns the “default value” for a type. Read more
impl Eq for AnimationState
Source§impl PartialEq for AnimationState
impl PartialEq for AnimationState
Source§fn eq(&self, other: &AnimationState) -> bool
fn eq(&self, other: &AnimationState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnimationState
Auto Trait Implementations§
impl Freeze for AnimationState
impl RefUnwindSafe for AnimationState
impl Send for AnimationState
impl Sync for AnimationState
impl Unpin for AnimationState
impl UnsafeUnpin for AnimationState
impl UnwindSafe for AnimationState
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