pub trait InteractiveWidget: Widget {
// Required method
fn handle_touch(&mut self, event: TouchEvent) -> bool;
}Required Methods§
fn handle_touch(&mut self, event: TouchEvent) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".