pub trait CustomEvent: Clone + 'static { }Expand description
Marker trait implemented by strongly-typed cross-component custom events dispatched through EventBus and #[event]/emit!/on!.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl CustomEvent for SystemEvent
Marker trait enabling SystemEvent forwarding over EventBus when desired.