pub enum TweenState {
Idle,
Running,
Paused,
Completed,
}Expand description
The current execution state of a Tween.
Variants§
Idle
Waiting for the delay period to expire before starting.
Running
Actively animating.
Paused
Paused mid-animation — update() calls are no-ops.
Completed
Finished. Further update() calls return false immediately.
Trait Implementations§
Source§impl Clone for TweenState
impl Clone for TweenState
Source§fn clone(&self) -> TweenState
fn clone(&self) -> TweenState
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 TweenState
impl Debug for TweenState
Source§impl PartialEq for TweenState
impl PartialEq for TweenState
Source§fn eq(&self, other: &TweenState) -> bool
fn eq(&self, other: &TweenState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TweenState
Auto Trait Implementations§
impl Freeze for TweenState
impl RefUnwindSafe for TweenState
impl Send for TweenState
impl Sync for TweenState
impl Unpin for TweenState
impl UnsafeUnpin for TweenState
impl UnwindSafe for TweenState
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