Function gio::content_type_is_mime_type[][src]

pub fn content_type_is_mime_type(type_: &str, mime_type: &str) -> bool
This is supported on crate feature v2_52 only.
Expand description

Determines if type_ is a subset of mime_type. Convenience wrapper around 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.