pub trait TouchClient {
// Required method
fn touch_event(&self, touch_event: TouchEvent);
}Expand description
The single touch client
Required Methods§
Sourcefn touch_event(&self, touch_event: TouchEvent)
fn touch_event(&self, touch_event: TouchEvent)
Report a touch event
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".