Struct gstreamer::Registry
[−]
pub struct Registry(_, _);
Methods
impl Registry
[src]
fn add_feature<P: IsA<PluginFeature>>(
&self,
feature: &P
) -> Result<(), BoolError>
[src]
&self,
feature: &P
) -> Result<(), BoolError>
fn add_plugin(&self, plugin: &Plugin) -> Result<(), BoolError>
[src]
fn check_feature_version(
&self,
feature_name: &str,
min_major: u32,
min_minor: u32,
min_micro: u32
) -> bool
[src]
&self,
feature_name: &str,
min_major: u32,
min_minor: u32,
min_micro: u32
) -> bool
fn find_feature(&self, name: &str, type_: Type) -> Option<PluginFeature>
[src]
fn find_plugin(&self, name: &str) -> Option<Plugin>
[src]
fn get_feature_list(&self, type_: Type) -> Vec<PluginFeature>
[src]
fn get_feature_list_by_plugin(&self, name: &str) -> Vec<PluginFeature>
[src]
[src]
fn get_plugin_list(&self) -> Vec<Plugin>
[src]
fn lookup(&self, filename: &str) -> Option<Plugin>
[src]
fn lookup_feature(&self, name: &str) -> Option<PluginFeature>
[src]
fn remove_feature<P: IsA<PluginFeature>>(&self, feature: &P)
[src]
fn remove_plugin(&self, plugin: &Plugin)
[src]
fn scan_path<P: AsRef<Path>>(&self, path: P) -> bool
[src]
fn get() -> Registry
[src]
fn connect_feature_added<F: Fn(&Registry, &PluginFeature) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_plugin_added<F: Fn(&Registry, &Plugin) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Trait Implementations
impl Clone for Registry
fn clone(&self) -> Registry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Registry
impl Hash for Registry
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for Registry
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Registry
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.