Skip to main content

HitRegion

Type Alias HitRegion 

Source
pub type HitRegion = (Rect, Arc<dyn Fn() + Send + Sync>);
Expand description

A click callback with its hit rect in window-space logical pixels.