tauri_runtime_wry

Trait Plugin

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

Required Methods§

Source

fn on_event( &mut self, event: &Event<'_, Message<T>>, event_loop: &EventLoopWindowTarget<Message<T>>, proxy: &TaoEventLoopProxy<Message<T>>, control_flow: &mut ControlFlow, context: EventLoopIterationContext<'_, T>, web_context: &WebContextStore, ) -> bool

Implementors§