pub type TapRegionCallback = Rc<dyn Fn(&mut App, PointerDownEvent)>;Expand description
Signature for a callback called for a PointerDownEvent relative to a TapRegion.
See also:
TapRegion::on_tap_outside, which is of this type.TapRegion::on_tap_inside, which is of this type.TapRegionUpCallback, which is similar but forPointerUpEvents.
Aliased Typeยง
pub struct TapRegionCallback { /* private fields */ }