pub fn file_name(path: &str) -> &str
Last component of a path, extension included.
Recognizes native Windows paths even when reading their catalog on Unix. The original spelling, including verbatim prefixes, is never rewritten.