pub struct Sequence<A, B> { /* private fields */ }Expand description
Play animation A, then animation B.
value() returns A’s value while A is running, then B’s value.
Implementations§
Trait Implementations§
Source§impl<A: Animation, B: Animation> Animation for Sequence<A, B>
impl<A: Animation, B: Animation> Animation for Sequence<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 Sequence<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Sequence<A, B>
impl<A, B> RefUnwindSafe for Sequence<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Sequence<A, B>
impl<A, B> Sync for Sequence<A, B>
impl<A, B> Unpin for Sequence<A, B>
impl<A, B> UnsafeUnpin for Sequence<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Sequence<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