pub struct LaggedStart { /* private fields */ }Expand description
Runs animations together, each starting lag_ratio of the previous one’s duration after
it, manim’s LaggedStart. Like Parallel, all plan against the same start state.
Trait Implementations§
Source§impl Animation for LaggedStart
impl Animation for LaggedStart
Source§fn plan(&mut self, state: &SceneState)
fn plan(&mut self, state: &SceneState)
Called once when played, with the scene state at the start of the clip. Do the expensive
work (alignment, diffing) here.
Source§fn sample(&self, alpha: f32, state: &mut SceneState)
fn sample(&self, alpha: f32, state: &mut SceneState)
Writes the targets’ state at eased progress
alpha into state, which holds the scene
as it was at the start of the clip. Must be cheap and pure.Auto Trait Implementations§
impl !RefUnwindSafe for LaggedStart
impl !UnwindSafe for LaggedStart
impl Freeze for LaggedStart
impl Send for LaggedStart
impl Sync for LaggedStart
impl Unpin for LaggedStart
impl UnsafeUnpin for LaggedStart
Blanket Implementations§
Source§impl<A> AnimationExt for Awhere
A: Animation,
impl<A> AnimationExt for Awhere
A: Animation,
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