Skip to main content

OnStep

Type Alias OnStep 

Source
pub type OnStep = Rc<dyn Fn(f32, &mut Window, &mut App)>;
Expand description

What a stepped number calls with its step (−1 or +1; a fast drag calls it once per step).

Aliased Type§

pub struct OnStep { /* private fields */ }