pub struct Tween<T: Lerp> {
pub value: T,
pub running: bool,
pub finished: bool,
/* private fields */
}Fields§
§value: T§running: bool§finished: boolImplementations§
Trait Implementations§
Source§impl AnimationClip for Tween<f32>
impl AnimationClip for Tween<f32>
Source§impl AnimationClip for Tween<f64>
impl AnimationClip for Tween<f64>
Source§impl AnimationClip for Tween<Color>
impl AnimationClip for Tween<Color>
Source§impl AnimationClip for Tween<Point>
impl AnimationClip for Tween<Point>
Source§impl AnimationClip for Tween<Size>
impl AnimationClip for Tween<Size>
Auto Trait Implementations§
impl<T> Freeze for Tween<T>where
T: Freeze,
impl<T> RefUnwindSafe for Tween<T>where
T: RefUnwindSafe,
impl<T> Send for Tween<T>where
T: Send,
impl<T> Sync for Tween<T>where
T: Sync,
impl<T> Unpin for Tween<T>where
T: Unpin,
impl<T> UnsafeUnpin for Tween<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Tween<T>where
T: UnwindSafe,
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