Skip to main content

MultiTouchClient

Trait MultiTouchClient 

Source
pub trait MultiTouchClient {
    // Required method
    fn touch_events(&self, touch_events: &[TouchEvent], len: usize);
}
Expand description

The multi touch client

Required Methods§

Source

fn touch_events(&self, touch_events: &[TouchEvent], len: usize)

Report a multi touch event num touches represents the number of touches detected

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§