Skip to main content

CustomEvent

Trait CustomEvent 

Source
pub trait CustomEvent: Clone + 'static { }
Expand description

Marker trait implemented by strongly-typed cross-component custom events dispatched through EventBus and #[event]/emit!/on_event!.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§