pub trait Animation: Debug {
// Required methods
unsafe fn update(
&mut self,
path: Rc<PathData>,
frame_count: &usize,
) -> Result<()>;
fn object_id(&self) -> &str;
}Required Methods§
Sourceunsafe fn update(
&mut self,
path: Rc<PathData>,
frame_count: &usize,
) -> Result<()>
unsafe fn update( &mut self, path: Rc<PathData>, frame_count: &usize, ) -> Result<()>
Called once every frame