pub trait ActionLike:
Clone
+ Eq
+ Hash
+ Send
+ Sync
+ 'static { }Expand description
Action key. Games use their own enums (Clone + Eq + Hash);
a &'static str works for quick wiring.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".