Function egui::widgets::color_picker::color_slider_1d

source ยท
fn color_slider_1d(
    ui: &mut Ui,
    value: &mut f32,
    color_at: impl Fn(f32) -> Color32,
) -> Response