[−][src]Trait iced::widget::button::Renderer
The renderer of a Button
.
Your renderer will need to implement this trait before being
able to use a Button
in your user interface.
Required methods
fn draw(
&mut self,
cursor_position: Point,
bounds: Rectangle,
state: &State,
label: &str,
class: Class
) -> MouseCursor
&mut self,
cursor_position: Point,
bounds: Rectangle,
state: &State,
label: &str,
class: Class
) -> MouseCursor