1 2 3 4 5 6
use crate::schema::AnimationEffect; /// Trait for components that support animation. pub trait Animatable { fn animation_effects(&self) -> &[AnimationEffect]; }