pub trait ActionLike:
Clone
+ Eq
+ Hash
+ Send
+ Sync
+ 'static { }Expand description
Action key bound. Games use their own enums (must be 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".