[][src]Struct gstreamer::Registry

pub struct Registry(_, _);

Implementations

impl Registry[src]

pub fn add_feature<P: IsA<PluginFeature>>(
    &self,
    feature: &P
) -> Result<(), BoolError>
[src]

pub fn add_plugin(&self, plugin: &Plugin) -> Result<(), BoolError>[src]

pub fn check_feature_version(
    &self,
    feature_name: &str,
    min_major: u32,
    min_minor: u32,
    min_micro: u32
) -> bool
[src]

pub fn feature_filter<P: FnMut(&PluginFeature) -> bool>(
    &self,
    filter: P,
    first: bool
) -> Vec<PluginFeature>
[src]

pub fn find_feature(&self, name: &str, type_: Type) -> Option<PluginFeature>[src]

pub fn find_plugin(&self, name: &str) -> Option<Plugin>[src]

pub fn get_feature_list(&self, type_: Type) -> Vec<PluginFeature>[src]

pub fn get_feature_list_by_plugin(&self, name: &str) -> Vec<PluginFeature>[src]

pub fn get_plugin_list(&self) -> Vec<Plugin>[src]

pub fn lookup(&self, filename: &str) -> Option<Plugin>[src]

pub fn lookup_feature(&self, name: &str) -> Option<PluginFeature>[src]

pub fn plugin_filter<P: FnMut(&Plugin) -> bool>(
    &self,
    filter: P,
    first: bool
) -> Vec<Plugin>
[src]

pub fn remove_feature<P: IsA<PluginFeature>>(&self, feature: &P)[src]

pub fn remove_plugin(&self, plugin: &Plugin)[src]

pub fn scan_path<P: AsRef<Path>>(&self, path: P) -> bool[src]

pub fn get() -> Registry[src]

pub fn connect_feature_added<F: Fn(&Registry, &PluginFeature) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_plugin_added<F: Fn(&Registry, &Plugin) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for Registry[src]

impl Debug for Registry[src]

impl Eq for Registry[src]

impl Hash for Registry[src]

impl IsA<Object> for Registry[src]

impl Ord for Registry[src]

impl<T: ObjectType> PartialEq<T> for Registry[src]

impl<T: ObjectType> PartialOrd<T> for Registry[src]

impl Send for Registry[src]

impl StaticType for Registry[src]

impl Sync for Registry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.