pub struct Tween<S> {
pub curve: Curve,
pub interp: InterpFn<S>,
}Expand description
How a prop’s value S travels: over curve, blended by interp.
Fields§
§curve: Curve§interp: InterpFn<S>Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Tween<S>
impl<S> RefUnwindSafe for Tween<S>
impl<S> Send for Tween<S>
impl<S> Sync for Tween<S>
impl<S> Unpin for Tween<S>
impl<S> UnsafeUnpin for Tween<S>
impl<S> UnwindSafe for Tween<S>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<V> ScopedExt for V
impl<V> ScopedExt for V
Source§fn rules<F>(self, rules: F) -> Rules<Self, F>
fn rules<F>(self, rules: F) -> Rules<Self, F>
This view, built in a scope where
rules ran first. Rules
marked root reach its root node alone.Source§fn transition(self, motion: Motion) -> Transition<Self>
fn transition(self, motion: Motion) -> Transition<Self>
This view, with every element in it travelling to new values
over the theme’s curve for
motion.