slider

Function slider 

Source
pub fn slider<P: Into<Pct>>(percent: impl Fn() -> P + 'static) -> Slider
Expand description

Creates a new Slider with a function that returns a percentage value. See Slider for more documentation