MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / GestureRecognizer

Class GestureRecognizer

src/gesture/mod.rs:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13pub struct GestureRecognizer {
14 tap_timeout: Duration,
15 long_press_timeout: Duration,
16 double_tap_timeout: Duration,
17 handlers: Vec<Box<dyn Fn(GestureEvent)>>,
18}
19
20impl GestureRecognizer {
21 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected