Function iced::widget::button::draw

source ·
pub fn draw<'a, Theme, Renderer>(
    renderer: &mut Renderer,
    bounds: Rectangle,
    cursor: Cursor,
    is_enabled: bool,
    theme: &Theme,
    style: &<Theme as StyleSheet>::Style,
    state: impl FnOnce() -> &'a State
) -> Appearance
where Renderer: Renderer, Theme: StyleSheet,
Expand description

Draws a Button.