Skip to main content

file_url

Function file_url 

Source
pub fn file_url(path: &Path) -> String
Expand 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.