Macro conrod_winit::convert_window_event
source · [−]macro_rules! convert_window_event {
($event:expr, $window:expr) => { ... };
}
Expand description
A macro for converting a winit::WindowEvent
to a Option<conrod_core::event::Input>
.
Expects a winit::WindowEvent
and a reference to a window implementing WinitWindow
.
Returns an Option<conrod_core::event::Input>
.