pub fn from_system(sys_icon: OemIcon) -> Icon {
        let mut icon = Self::default();

        // Default icon creation cannot fail
        Self::builder()
            .source_system(Some(sys_icon))
            .build(&mut icon)
            .unwrap();

        icon
    }
/**
        Single line helper function over the icon builder api.

        Use system resources.
    */
Single line helper function over the icon builder api.
Use system resources.
Single line helper function over the icon builder api . Use system resources .
pub fn from_system(sys_icon: OemIcon) -> Icon {
        let mut icon = Self::default();
        // Default icon creation cannot fail
        Self::builder()
            .source_system(Some(sys_icon))
            .build(&mut icon)
            .unwrap();
        icon
    }
pub fn from_system ( sys_icon : OemIcon ) -> Icon { let mut icon = Self :: default ( ) ; // Default icon creation cannot fail Self :: builder ( ) . source_system ( Some ( sys_icon ) ) . build ( & mut icon ) . unwrap ( ) ; icon }
Single line helper function over the icon builder api.
Single line helper function over the icon builder api .
sys_icon
OemIcon