Skip to main content

from_ext

Function from_ext 

Source
pub fn from_ext(ext: &str) -> MediaTypeGuess
Expand description

Guess the media type(s) of a file with the given extension.

See MediaTypeGuess::from_ext.