iced_winit::conversion

Function icon

Source
pub fn icon(icon: Icon) -> Option<Icon>
Expand description

Converts some [window::Icon] into it’s winit counterpart.

Returns None if there is an error during the conversion.