[−][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
pub const DEFAULT_HEIGHT: u16
[src]
The default height of a Slider
.
Required methods
pub fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
range: RangeInclusive<f32>,
value: f32,
is_dragging: bool,
style: &Self::Style
) -> Self::Output
[src]
&mut self,
bounds: Rectangle,
cursor_position: Point,
range: RangeInclusive<f32>,
value: f32,
is_dragging: bool,
style: &Self::Style
) -> Self::Output