[−][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...Required methods
fn height(&self) -> u32
Returns the height of the Slider
.
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