Skip to main content

HitHandler

Type Alias HitHandler 

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

A resolved hit/scroll handler — invoked with the event’s (x, y) in window-space logical pixels.

Aliased Type§

pub struct HitHandler { /* private fields */ }