pub trait IntoMotionAnimation<T, Kind>: Sealed<T, Kind>where
T: Animatable,{
type Animation: Animation<T>;
}Expand description
Converts a playback value into an animation for an existing motion.
This trait is implemented for every Animation, for factories receiving
the current sampled value, and for Fields. It exists so
crate::Motion::play can accept both already constructed and deferred
animation sources.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".