Skip to main content

asset_kind

Function asset_kind 

Source
pub fn asset_kind(mime: &str) -> AssetKind
Expand description

Determine the media kind based on the prefix of the MIME type.