Trait gstreamer::subclass::prelude::ElementImplExt
source · pub trait ElementImplExt: Sealed + ObjectSubclass {
Show 14 methods
// Provided methods
fn parent_change_state(
&self,
transition: StateChange,
) -> Result<StateChangeSuccess, StateChangeError> { ... }
fn parent_request_new_pad(
&self,
templ: &PadTemplate,
name: Option<&str>,
caps: Option<&Caps>,
) -> Option<Pad> { ... }
fn parent_release_pad(&self, pad: &Pad) { ... }
fn parent_send_event(&self, event: Event) -> bool { ... }
fn parent_query(&self, query: &mut QueryRef) -> bool { ... }
fn parent_set_context(&self, context: &Context) { ... }
fn parent_set_clock(&self, clock: Option<&Clock>) -> bool { ... }
fn parent_provide_clock(&self) -> Option<Clock> { ... }
fn parent_post_message(&self, msg: Message) -> bool { ... }
fn panicked(&self) -> &AtomicBool { ... }
fn catch_panic<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>(
&self,
fallback: G,
f: F,
) -> R { ... }
fn catch_panic_future<R, F: FnOnce() -> R, G: Future<Output = R>>(
&self,
fallback: F,
fut: G,
) -> CatchPanic<Self, F, G> ⓘ { ... }
fn catch_panic_pad_function<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>(
parent: Option<&Object>,
fallback: G,
f: F,
) -> R { ... }
fn post_error_message(&self, msg: ErrorMessage) { ... }
}
Provided Methods§
fn parent_change_state( &self, transition: StateChange, ) -> Result<StateChangeSuccess, StateChangeError>
fn parent_request_new_pad( &self, templ: &PadTemplate, name: Option<&str>, caps: Option<&Caps>, ) -> Option<Pad>
fn parent_release_pad(&self, pad: &Pad)
fn parent_send_event(&self, event: Event) -> bool
fn parent_query(&self, query: &mut QueryRef) -> bool
fn parent_set_context(&self, context: &Context)
fn parent_set_clock(&self, clock: Option<&Clock>) -> bool
fn parent_provide_clock(&self) -> Option<Clock>
fn parent_post_message(&self, msg: Message) -> bool
fn panicked(&self) -> &AtomicBool
fn catch_panic<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>( &self, fallback: G, f: F, ) -> R
fn catch_panic_future<R, F: FnOnce() -> R, G: Future<Output = R>>( &self, fallback: F, fut: G, ) -> CatchPanic<Self, F, G> ⓘ
fn catch_panic_pad_function<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>( parent: Option<&Object>, fallback: G, f: F, ) -> R
fn post_error_message(&self, msg: ErrorMessage)
Object Safety§
This trait is not object safe.