InputEvent

Trait InputEvent 

Source
pub trait InputEvent: Sealed + 'static {
    // Required method
    fn to_platform_input(self) -> PlatformInput;
}
Expand description

An event from a platform input source.

Required Methods§

Source

fn to_platform_input(self) -> PlatformInput

Convert this event into the platform input enum.

Implementors§