pub fn update<Message, T>(
    event: Event,
    layout: Layout<'_>,
    cursor_position: Point,
    shell: &mut Shell<'_, Message>,
    state: &mut State,
    value: &mut T,
    range: &RangeInclusive<T>,
    step: T,
    on_change: &dyn Fn(T) -> Message,
    on_release: &Option<Message>
) -> Statuswhere
    T: Copy + Into<f64> + FromPrimitive,
    Message: Clone,
Expand description

Processes an Event and updates the State of a VerticalSlider accordingly.