pub trait Event {
type Clonable: Clone + 'static;
type Unique<'a>: 'a;
// Required method
fn downgrade(unique: &mut Self::Unique<'_>) -> Self::Clonable;
}Expand description
The type of event that can be sent over a Handler.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".