Function gstreamer::type_mark_as_plugin_api[][src]

pub fn type_mark_as_plugin_api(type_: Type, flags: PluginAPIFlags)
This is supported on crate feature v1_18 only.
Expand description

Marks type_ as plugin API. This should be called in class_init of elements that expose new types (i.e. enums, flags or internal GObjects) via properties, signals or pad templates.

Types exposed by plugins are not automatically added to the documentation as they might originate from another library and should in that case be documented via that library instead.

By marking a type as plugin API it will be included in the documentation of the plugin that defines it.

type_

a GType

flags

a set of PluginAPIFlags to further inform cache generation.