Trait tauri_runtime_wry::Plugin
source · pub trait Plugin<T: UserEvent> {
// Required method
fn on_event(
&mut self,
event: &Event<'_, Message<T>>,
event_loop: &EventLoopWindowTarget<Message<T>>,
proxy: &WryEventLoopProxy<Message<T>>,
control_flow: &mut ControlFlow,
context: EventLoopIterationContext<'_, T>,
web_context: &WebContextStore,
) -> bool;
}