[−][src]Trait iced_native::widget::slider::Renderer
The renderer of a Slider
.
Your renderer will need to implement this trait before being
able to use a Slider
in your user interface.
Associated Types
Loading content...Associated Constants
const DEFAULT_HEIGHT: u16
The default height of a Slider
.
Required methods
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
range: RangeInclusive<f32>,
value: f32,
is_dragging: bool,
style: &Self::Style
) -> Self::Output
&mut self,
bounds: Rectangle,
cursor_position: Point,
range: RangeInclusive<f32>,
value: f32,
is_dragging: bool,
style: &Self::Style
) -> Self::Output