pub struct AnimatorDrivenTransition;Expand description
Creates the observable of a transition whose values are interpolated by
the animator A.
Implementations§
Source§impl AnimatorDrivenTransition
impl AnimatorDrivenTransition
pub fn transition<A: Animator + Default>( easing: Easing, progress: Rc<dyn IObservable<f64>>, old_value: A::Value, new_value: A::Value, ) -> Rc<dyn IObservable<A::Value>>
Auto Trait Implementations§
impl Freeze for AnimatorDrivenTransition
impl RefUnwindSafe for AnimatorDrivenTransition
impl Send for AnimatorDrivenTransition
impl Sync for AnimatorDrivenTransition
impl Unpin for AnimatorDrivenTransition
impl UnsafeUnpin for AnimatorDrivenTransition
impl UnwindSafe for AnimatorDrivenTransition
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more