Struct gstreamer::Element
[−]
pub struct Element(_, _);
Methods
impl Element
[src]
pub fn make_from_uri<'a, P: Into<Option<&'a str>>>(
type_: URIType,
uri: &str,
elementname: P
) -> Result<Element, Error>
[src]
type_: URIType,
uri: &str,
elementname: P
) -> Result<Element, Error>
pub fn register<'a, P: Into<Option<&'a Plugin>>>(
plugin: P,
name: &str,
rank: u32,
type_: Type
) -> bool
[src]
plugin: P,
name: &str,
rank: u32,
type_: Type
) -> bool
impl Element
[src]
pub fn link_many<E: IsA<Element>>(elements: &[&E]) -> Result<(), BoolError>
[src]
pub fn unlink_many<E: IsA<Element>>(elements: &[&E])
[src]
Trait Implementations
impl IsA<Element> for Bin
impl Clone for Element
fn clone(&self) -> Element
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 Element
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for Element
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 Element
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for Element
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 !=
.