pub trait AnimationWindowType:
EntityEvent
+ Clone
+ Send
+ Sync
+ 'static{
// Required methods
fn window_name() -> &'static str;
fn from_params(params: &HashMap<String, Value>) -> Option<Self>;
}Expand description
Trait for types that can be animation windows.
Similar to AnimationTriggerType, but for duration-based events with
Begin/Tick/End phases.
Required Methods§
Sourcefn window_name() -> &'static str
fn window_name() -> &'static str
The window name as used in the editor
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.