pub struct Tween {
pub duration: f32,
pub easing: Easing,
}Expand description
an easing curve with a duration specifying the time to reach the target
Fields§
§duration: f32seconds to reach the target
easing: EasingImplementations§
Trait Implementations§
impl Copy for Tween
impl StructuralPartialEq for Tween
Auto Trait Implementations§
impl Forget for Tween
impl Freeze for Tween
impl Move for Tween
impl RefUnwindSafe for Tween
impl Send for Tween
impl Sync for Tween
impl Unpin for Tween
impl UnsafeUnpin for Tween
impl UnwindSafe for Tween
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