pub enum TweenState {
Delayed,
Running,
Paused,
Finished,
}Expand description
The playback state of a Tween.
Variants§
Delayed
The tween is waiting for its start delay to elapse.
Running
The tween is actively interpolating.
Paused
The tween is paused and can be resumed.
Finished
The tween has completed (AnimationMode::Once only).
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 moreimpl Copy for TweenState
Source§impl Debug for TweenState
impl Debug for TweenState
Source§impl Default for TweenState
impl Default for TweenState
Source§fn default() -> TweenState
fn default() -> TweenState
Returns the “default value” for a type. Read more
impl Eq 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