pub trait CommonEventHandler<T, U: EventTrait = DefaultCustomEvent> {
// Provided method
fn process_event(&mut self, _event: U) -> Vec<NewWindowRequest<T, U>> { ... }
}Expand description
This trait allows for non-window specific events to be sent to the event loop. It allows for non-gui threads or code to interact with the gui through the common struct
Provided Methods§
sourcefn process_event(&mut self, _event: U) -> Vec<NewWindowRequest<T, U>>
fn process_event(&mut self, _event: U) -> Vec<NewWindowRequest<T, U>>
Process non-window specific events for the application