Struct gstreamer::ElementFactory [−]
pub struct ElementFactory(_, _);
Methods
impl ElementFactory
[src]
impl ElementFactory
pub fn can_sink_all_caps(&self, caps: &Caps) -> bool
[src]
pub fn can_sink_all_caps(&self, caps: &Caps) -> bool
pub fn can_sink_any_caps(&self, caps: &Caps) -> bool
[src]
pub fn can_sink_any_caps(&self, caps: &Caps) -> bool
pub fn can_src_all_caps(&self, caps: &Caps) -> bool
[src]
pub fn can_src_all_caps(&self, caps: &Caps) -> bool
pub fn can_src_any_caps(&self, caps: &Caps) -> bool
[src]
pub fn can_src_any_caps(&self, caps: &Caps) -> bool
pub fn create<'a, P: Into<Option<&'a str>>>(&self, name: P) -> Option<Element>
[src]
pub fn create<'a, P: Into<Option<&'a str>>>(&self, name: P) -> Option<Element>
pub fn get_element_type(&self) -> Type
[src]
pub fn get_element_type(&self) -> Type
pub fn get_metadata(&self, key: &str) -> Option<String>
[src]
pub fn get_metadata(&self, key: &str) -> Option<String>
pub fn get_metadata_keys(&self) -> Vec<String>
[src]
pub fn get_metadata_keys(&self) -> Vec<String>
pub fn get_num_pad_templates(&self) -> u32
[src]
pub fn get_num_pad_templates(&self) -> u32
pub fn get_static_pad_templates(&self) -> Vec<StaticPadTemplate>
[src]
pub fn get_static_pad_templates(&self) -> Vec<StaticPadTemplate>
pub fn get_uri_protocols(&self) -> Vec<String>
[src]
pub fn get_uri_protocols(&self) -> Vec<String>
pub fn get_uri_type(&self) -> URIType
[src]
pub fn get_uri_type(&self) -> URIType
pub fn has_interface(&self, interfacename: &str) -> bool
[src]
pub fn has_interface(&self, interfacename: &str) -> bool
pub fn list_is_type(&self, type_: ElementFactoryListType) -> bool
[src]
pub fn list_is_type(&self, type_: ElementFactoryListType) -> bool
pub fn find(name: &str) -> Option<ElementFactory>
[src]
pub fn find(name: &str) -> Option<ElementFactory>
pub fn list_filter(
list: &[ElementFactory],
caps: &Caps,
direction: PadDirection,
subsetonly: bool
) -> Vec<ElementFactory>
[src]
pub fn list_filter(
list: &[ElementFactory],
caps: &Caps,
direction: PadDirection,
subsetonly: bool
) -> Vec<ElementFactory>
pub fn list_get_elements(
type_: ElementFactoryListType,
minrank: Rank
) -> Vec<ElementFactory>
[src]
pub fn list_get_elements(
type_: ElementFactoryListType,
minrank: Rank
) -> Vec<ElementFactory>
pub fn make<'a, P: Into<Option<&'a str>>>(
factoryname: &str,
name: P
) -> Option<Element>
[src]
pub fn make<'a, P: Into<Option<&'a str>>>(
factoryname: &str,
name: P
) -> Option<Element>
Trait Implementations
impl Clone for ElementFactory
impl Clone for ElementFactory
fn clone(&self) -> ElementFactory
fn clone(&self) -> ElementFactory
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for ElementFactory
impl Hash for ElementFactory
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for ElementFactory
impl Ord for ElementFactory
fn cmp(&self, other: &ElementFactory) -> Ordering
fn cmp(&self, other: &ElementFactory) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for ElementFactory
impl StaticType for ElementFactory
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ElementFactory
impl<T: IsA<Object>> PartialEq<T> for ElementFactory
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ElementFactory
impl Eq for ElementFactory
impl<T: IsA<Object>> PartialOrd<T> for ElementFactory
impl<T: IsA<Object>> PartialOrd<T> for ElementFactory
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for ElementFactory
impl Debug for ElementFactory
impl IsA<PluginFeature> for ElementFactory
impl IsA<PluginFeature> for ElementFactory
impl IsA<Object> for ElementFactory
impl IsA<Object> for ElementFactory
impl IsA<Object> for ElementFactory
impl IsA<Object> for ElementFactory
impl Send for ElementFactory
[src]
impl Send for ElementFactory
impl Sync for ElementFactory
[src]
impl Sync for ElementFactory