pub struct Parallel<A, B> { /* private fields */ }Expand description
Play animations A and B simultaneously.
value() returns the average of both values. Completes when both complete.
Implementations§
Trait Implementations§
Source§impl<A: Animation, B: Animation> Animation for Parallel<A, B>
impl<A: Animation, B: Animation> Animation for Parallel<A, B>
Source§fn is_complete(&self) -> bool
fn is_complete(&self) -> bool
Whether the animation has reached its end.
impl<A: Copy, B: Copy> Copy for Parallel<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Parallel<A, B>
impl<A, B> RefUnwindSafe for Parallel<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Parallel<A, B>
impl<A, B> Sync for Parallel<A, B>
impl<A, B> Unpin for Parallel<A, B>
impl<A, B> UnsafeUnpin for Parallel<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Parallel<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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