Macro manifest_dir_macros::mime_guess [−][src]
mime_guess!() { /* proc-macro */ }
Guesses the mime type by the path. If the guess fails, the default value will be used, or a compile error will be shown.
Multiple components can be input by using commas to separate them.