pub trait GestureEndEvent: AsRaw<libinput_event_gesture> { // Provided method fn cancelled(&self) -> bool { ... } }
Common functions for events noting the end of a gesture
Return if the gesture ended normally, or if it was cancelled.