Skip to main content

icon

Function icon 

Source
pub fn icon(part: &AppPart, root: &Path) -> Result<Option<Icon>, String>
Expand description

part’s icon, read from the project at root and checked: a PNG file, square, ICON_SIDE pixels a side or more. None when the part names none.