pub trait WinitComponent {
    fn on_event(
        &mut self,
        event: &mut Event<'_, ()>,
        control_flow: &mut ControlFlow
    ); }
Expand description

Trait for handling winit events on component.

Required Methods§

Implementors§