pub struct CurveTween {
pub curve: Rc<dyn Curve>,
}Expand description
Transforms the value of the given animation by the given curve.
Fields§
§curve: Rc<dyn Curve>The curve to use when transforming the value of the animation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CurveTween
impl !Send for CurveTween
impl !Sync for CurveTween
impl !UnwindSafe for CurveTween
impl Forget for CurveTween
impl Freeze for CurveTween
impl Move for CurveTween
impl Unpin for CurveTween
impl UnsafeUnpin for CurveTweenwhere
*const RcInner<dyn Curve> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Curve>>: UnsafeUnpin,
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