pub trait Gesture<'a> {
// Required method
fn set_client(&self, gesture_client: &'a dyn GestureClient);
}Expand description
Touch panels that support gestures
Required Methods§
Sourcefn set_client(&self, gesture_client: &'a dyn GestureClient)
fn set_client(&self, gesture_client: &'a dyn GestureClient)
Set the gesture client
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".