[−][src]Trait gst_plugin::element::ElementImpl
Provided Methods
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
_element: &T,
_templ: &PadTemplate,
_name: Option<String>,
_caps: Option<&CapsRef>
) -> Option<Pad>
&self,
_element: &T,
_templ: &PadTemplate,
_name: Option<String>,
_caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, _element: &T, _pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
Methods
impl<T: ElementBase> ElementImpl<T> where
T::InstanceStructType: PanicPoison,
impl<T: ElementBase> ElementImpl<T> where
T::InstanceStructType: PanicPoison,
pub fn downcast_ref<U: ElementImpl<T>>(&self) -> Option<&U>
pub fn downcast_ref<U: ElementImpl<T>>(&self) -> Option<&U>
ⓘImportant traits for &'a mut Rpub unsafe fn downcast_ref_unchecked<U: ElementImpl<T>>(&self) -> &U
ⓘImportant traits for &'a mut R
pub unsafe fn downcast_ref_unchecked<U: ElementImpl<T>>(&self) -> &U
pub fn is<U: ElementImpl<T>>(&self) -> bool
pub fn is<U: ElementImpl<T>>(&self) -> bool
Implementations on Foreign Types
impl<T: ElementBase> ElementImpl<T> for Box<ElementImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<ElementImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<BinImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<BinImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<PipelineImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<PipelineImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<BaseSrcImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<BaseSrcImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<BaseSinkImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<BaseSinkImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<BaseTransformImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<BaseTransformImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)
impl<T: ElementBase> ElementImpl<T> for Box<AggregatorImpl<T>> where
T::InstanceStructType: PanicPoison,
[src]
impl<T: ElementBase> ElementImpl<T> for Box<AggregatorImpl<T>> where
T::InstanceStructType: PanicPoison,
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
[src]
fn change_state(
&self,
element: &T,
transition: StateChange
) -> StateChangeReturn
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
[src]
fn request_new_pad(
&self,
element: &T,
templ: &PadTemplate,
name: Option<String>,
caps: Option<&CapsRef>
) -> Option<Pad>
fn release_pad(&self, element: &T, pad: &Pad)
[src]
fn release_pad(&self, element: &T, pad: &Pad)
fn send_event(&self, element: &T, event: Event) -> bool
[src]
fn send_event(&self, element: &T, event: Event) -> bool
fn query(&self, element: &T, query: &mut QueryRef) -> bool
[src]
fn query(&self, element: &T, query: &mut QueryRef) -> bool
fn set_context(&self, element: &T, context: &Context)
[src]
fn set_context(&self, element: &T, context: &Context)