[−][src]Trait pixel_widgets::EventLoop
Trait for sending custom events to the event loop of the application
Associated Types
type Error
The error returned when send_event fails
Required methods
fn send_event(&self, event: T) -> Result<(), Self::Error>
Sends custom event to the event loop.
Returns an Err
if sending failed, for example when the event loop doesn't exist anymore.