cosmic::widget::icon

Function draw

source
pub fn draw(renderer: &mut Renderer, handle: &Handle, icon_bounds: Rectangle)
Expand description

Draw an icon in the given bounds via the runtime’s renderer.