pub fn icon(icon: Icon) -> Option<Icon>
Converts some [window::Icon] into it’s winit counterpart.
window::Icon
winit
Returns None if there is an error during the conversion.
None