pub struct Unwrite(/* private fields */);Expand description
Erases mobjects last to first, manim’s Unwrite: [write] played backwards. The mobjects
stay in the scene until removed.
Trait Implementations§
Source§impl Animation for Unwrite
impl Animation for Unwrite
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 Freeze for Unwrite
impl RefUnwindSafe for Unwrite
impl Send for Unwrite
impl Sync for Unwrite
impl Unpin for Unwrite
impl UnsafeUnpin for Unwrite
impl UnwindSafe for Unwrite
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