pub trait EventData { }
Expand description
Internal trait implemented for different event type structs (EvNote
, EvCtrl
, etc).
Use it through Event::get_data
and Event::new
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.