pub trait InputEvent: Sealed + 'static {
// Required method
fn to_platform_input(self) -> PlatformInput;
}Expand description
An event from a platform input source.
Required Methods§
Sourcefn to_platform_input(self) -> PlatformInput
fn to_platform_input(self) -> PlatformInput
Convert this event into the platform input enum.