Trait libre_pvz_animation::AnimationExt
source · pub trait AnimationExt {
// Required method
fn register_for_animation<C: Component>(&mut self) -> &mut Self;
}Expand description
Extend App with an register_for_animation API.
Required Methods§
sourcefn register_for_animation<C: Component>(&mut self) -> &mut Self
fn register_for_animation<C: Component>(&mut self) -> &mut Self
Register a Component for animation.
Object Safety§
This trait is not object safe.