pub trait AnimationEvent: Clone + for<'a> Event<Trigger<'a> = AnimationEventTrigger> { }Expand description
An Event that an AnimationPlayer can trigger when playing an AnimationClip.
See AnimationClip::add_event.
This trait can be derived.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.