Function gio::functions::content_type_is_mime_type

source ·
pub fn content_type_is_mime_type(type_: &str, mime_type: &str) -> bool
Expand description

Determines if @type_ is a subset of @mime_type. Convenience wrapper around g_content_type_is_a().

§type_

a content type string

§mime_type

a mime type string

§Returns

true if @type_ is a kind of @mime_type, false otherwise.