Macro carbide_winit::v021_convert_event [−][src]
A macro for converting a winit::Event
to a carbide_core::event::Input
.
Expects a winit::Event
and a reference to a window implementing WinitWindow
.
Returns an Option<carbide_core::event::Input>
.
Invocations of this macro require that a version of the winit
and carbide_core
crates are
available in the crate root.