pub enum AnimationState {
Idle,
Pending,
Running,
Paused,
Finished,
Cancelled,
}Expand description
Runtime-independent animation state labels.
Variants§
Implementations§
Source§impl AnimationState
impl AnimationState
pub fn is_terminal(self) -> bool
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 moreSource§impl Debug for AnimationState
impl Debug for AnimationState
Source§impl Hash for AnimationState
impl Hash for AnimationState
Source§impl Ord for AnimationState
impl Ord for AnimationState
Source§fn cmp(&self, other: &AnimationState) -> Ordering
fn cmp(&self, other: &AnimationState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 ==.Source§impl PartialOrd for AnimationState
impl PartialOrd for AnimationState
impl Copy for AnimationState
impl Eq for AnimationState
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