pub struct Animation<'a, A: Animatable> { /* private fields */ }Expand description
A live typed value: an Animatable bound to an AnimationController
(the result of Animatable::animate). value() samples the controller at the
present instant — this is what the view reads at paint time.
Implementations§
Source§impl<A: Animatable> Animation<'_, A>
impl<A: Animatable> Animation<'_, A>
Auto Trait Implementations§
impl<'a, A> !RefUnwindSafe for Animation<'a, A>
impl<'a, A> !Send for Animation<'a, A>
impl<'a, A> !Sync for Animation<'a, A>
impl<'a, A> !UnwindSafe for Animation<'a, A>
impl<'a, A> Freeze for Animation<'a, A>
impl<'a, A> Unpin for Animation<'a, A>
impl<'a, A> UnsafeUnpin for Animation<'a, A>where
&'a A: 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