pub fn file_url(path: &Path) -> StringExpand description
A file’s address for the window (a picture, a PDF): “file:///home/…”, and “file:///C:/Users/…” on Windows, with “/” between its parts and what an address cannot hold (“#”, “?”, “%”, spaces) percent-encoded.