cosmic::widget::button

Function draw

source
pub fn draw<Renderer: Renderer, Theme>(
    renderer: &mut Renderer,
    bounds: Rectangle,
    viewport_bounds: Rectangle,
    styling: &Style,
    draw_contents: impl FnOnce(&mut Renderer, &Style),
    is_image: bool,
)
where Theme: Catalog,