Trait gstreamer::subclass::element::ElementImpl
source · pub trait ElementImpl:
ElementImplExt
+ GstObjectImpl
+ Send
+ Sync {
// Provided methods
fn metadata() -> Option<&'static ElementMetadata> { ... }
fn pad_templates() -> &'static [PadTemplate] { ... }
fn change_state(
&self,
transition: StateChange,
) -> Result<StateChangeSuccess, StateChangeError> { ... }
fn request_new_pad(
&self,
templ: &PadTemplate,
name: Option<&str>,
caps: Option<&Caps>,
) -> Option<Pad> { ... }
fn release_pad(&self, pad: &Pad) { ... }
fn send_event(&self, event: Event) -> bool { ... }
fn query(&self, query: &mut QueryRef) -> bool { ... }
fn set_context(&self, context: &Context) { ... }
fn set_clock(&self, clock: Option<&Clock>) -> bool { ... }
fn provide_clock(&self) -> Option<Clock> { ... }
fn post_message(&self, msg: Message) -> bool { ... }
}
Provided Methods§
fn metadata() -> Option<&'static ElementMetadata>
fn pad_templates() -> &'static [PadTemplate]
fn change_state( &self, transition: StateChange, ) -> Result<StateChangeSuccess, StateChangeError>
fn request_new_pad( &self, templ: &PadTemplate, name: Option<&str>, caps: Option<&Caps>, ) -> Option<Pad>
fn release_pad(&self, pad: &Pad)
fn send_event(&self, event: Event) -> bool
fn query(&self, query: &mut QueryRef) -> bool
fn set_context(&self, context: &Context)
fn set_clock(&self, clock: Option<&Clock>) -> bool
fn provide_clock(&self) -> Option<Clock>
fn post_message(&self, msg: Message) -> bool
Object Safety§
This trait is not object safe.