Trait containing all
fn check_version(&self, min_major: u32, min_minor: u32, min_micro: u32) -> bool
Checks whether the given plugin feature is at least the required version
minimum required major version
minimum required minor version
minimum required micro version
true if the plugin feature has at least
the required version, otherwise
fn get_plugin(&self) -> Option<Plugin>
Get the plugin that provides this feature.
the plugin that provides this
None. Unref with
GstObjectExt::unref when no
fn get_plugin_name(&self) -> Option<GString>
Get the name of the plugin that provides this feature.
the name of the plugin that provides this
None if the feature is not associated with a
fn load(&self) -> Option<PluginFeature>
Loads the plugin containing
self if it's not already loaded.
unaffected; use the return value instead.
Normally this function is used like this:
GstPluginFeature *loaded_feature; loaded_feature = gst_plugin_feature_load (feature); // presumably, we're no longer interested in the potentially-unloaded feature gst_object_unref (feature); feature = loaded_feature;
a reference to the loaded
None on error