Skip to main content

local_image_url

Function local_image_url 

Source
fn local_image_url(folder: &Path, path: Option<&str>) -> Option<String>
Expand description

A data: URL for an image inside a widget folder, or None when the path leaves the folder, isn’t a supported image type, or can’t be read. Development builds only.