Skip to main content

run_with_icon

Function run_with_icon 

Source
pub fn run_with_icon(
    root: impl View + 'static,
    options: WindowOptions,
    icon: ImageData,
) -> Result<(), PlatformError>
Expand description

Like run, with an icon for the window’s title bar and the task bar on Windows and Linux. macOS takes an app’s icon from its bundle instead.