Trait nannou::event::LoopEvent [−][src]
pub trait LoopEvent: 'static + From<Update> {
fn from_winit_event<'a, T>(_: &Event<'a, T>, _: &App) -> Option<Self>;
}
Expand description
Event types that are compatible with the nannou app loop.
Required methods
fn from_winit_event<'a, T>(_: &Event<'a, T>, _: &App) -> Option<Self>
fn from_winit_event<'a, T>(_: &Event<'a, T>, _: &App) -> Option<Self>
Produce a loop event from the given winit event.