[−][src]Struct gstreamer::ElementClass
Implementations
impl ElementClass
[src]
pub fn get_metadata<'a>(&self, key: &str) -> Option<&'a str>
[src]
pub fn get_pad_template(&self, name: &str) -> Option<PadTemplate>
[src]
pub fn get_pad_template_list(&self) -> Vec<PadTemplate>
[src]
Methods from Deref<Target = <Object as ObjectType>::RustClassType>
Trait Implementations
impl Debug for ElementClass
[src]
impl Deref for ElementClass
[src]
type Target = <Object as ObjectType>::RustClassType
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for ElementClass
[src]
impl ElementClassSubclassExt for ElementClass
[src]
fn add_pad_template(&mut self, pad_template: PadTemplate)
[src]
fn set_metadata(
&mut self,
long_name: &str,
classification: &str,
description: &str,
author: &str
)
[src]
&mut self,
long_name: &str,
classification: &str,
description: &str,
author: &str
)
fn add_metadata(&mut self, key: &str, value: &str)
[src]
impl IsClassFor for ElementClass
[src]
type Instance = Element
Corresponding Rust instance type for this class.
fn get_type(&self) -> Type
[src]
fn upcast_ref<U>(&self) -> &U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn upcast_ref_mut<U>(&mut self) -> &mut U where
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
[src]
U: IsClassFor,
Self::Instance: IsA<<U as IsClassFor>::Instance>,
<U as IsClassFor>::Instance: ObjectType,
fn downcast_ref<U>(&self) -> Option<&U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn downcast_ref_mut<U>(&mut self) -> Option<&mut U> where
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
[src]
U: IsClassFor,
<U as IsClassFor>::Instance: IsA<Self::Instance>,
Self::Instance: ObjectType,
fn from_type(type_: Type) -> Option<ClassRef<Self>>
[src]
impl<T: ObjectSubclass + ElementImpl> IsSubclassable<T> for ElementClass where
<T as ObjectSubclass>::Instance: PanicPoison,
[src]
<T as ObjectSubclass>::Instance: PanicPoison,
fn override_vfuncs(&mut self)
[src]
impl Send for ElementClass
[src]
impl Sync for ElementClass
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,