Skip to main content

MouseTrackerHitTest

Type Alias MouseTrackerHitTest 

Source
pub type MouseTrackerHitTest = Rc<dyn Fn(&mut App, Offset, ViewId) -> HitTestResult>;
Expand description

Signature for hit testing at the given offset for the specified view.

It is used by the MouseTracker to fetch annotations for the mouse position.

Aliased Typeยง

pub struct MouseTrackerHitTest { /* private fields */ }