pub enum TweenState {
Waiting,
Running,
Completed,
Paused,
}Expand description
Current phase of a Tween’s lifecycle.
Variants§
Waiting
Inside the delay period — animation has not started yet.
Running
Actively interpolating between start and end.
Completed
Reached the end — value() returns end.
Paused
Manually paused via Tween::pause.
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 · 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
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