pub trait UiAction:
Clone
+ PartialEq
+ Debug
+ Send
+ Sync
+ 'static { }Expand description
An action a UI control can raise.
Any Clone + PartialEq + Debug + Send + Sync + 'static value qualifies, so
a game’s fieldless UiAction enum is one without ceremony. PartialEq is
what makes Intents consumption work; Send/Sync is what lets the sink
live in a click closure while the queue is drained from the sim.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".