logo

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

Produce a loop event from the given winit event.

Implementors