Skip to main content

ProcessEvent

Trait ProcessEvent 

Source
pub trait ProcessEvent {
    type Result;

    // Required method
    fn input(&mut self, event: Event) -> Self::Result;
}

Required Associated Types§

Required Methods§

Source

fn input(&mut self, event: Event) -> Self::Result

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§