Skip to main content

OnSlide

Type Alias OnSlide 

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

What a slider calls: the new value and whether the drag ended (to commit one undo step).

Aliased Typeยง

pub struct OnSlide { /* private fields */ }