Skip to main content

ScrollRegion

Type Alias ScrollRegion 

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

A (delta_x, delta_y) scroll callback with its viewport rect and the axes it handles.