logo
pub trait InspectRenderSlider<T> {
    fn render(
        data: &[&T],
        label: &'static str,
        ui: &mut Ui,
        args: &InspectArgsSlider
    ); fn render_mut(
        data: &mut [&mut T],
        label: &'static str,
        ui: &mut Ui,
        args: &InspectArgsSlider
    ) -> bool; }
Expand description

Renders a value as a slider

Required Methods

Render the element in an immutable way (i.e. static text)

Render the element as a mutable slider

Implementations on Foreign Types

Implementors