Trait gstreamer::subclass::element::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§

source

fn parent_change_state( &self, transition: StateChange, ) -> Result<StateChangeSuccess, StateChangeError>

source

fn parent_request_new_pad( &self, templ: &PadTemplate, name: Option<&str>, caps: Option<&Caps>, ) -> Option<Pad>

source

fn parent_release_pad(&self, pad: &Pad)

source

fn parent_send_event(&self, event: Event) -> bool

source

fn parent_query(&self, query: &mut QueryRef) -> bool

source

fn parent_set_context(&self, context: &Context)

source

fn parent_set_clock(&self, clock: Option<&Clock>) -> bool

source

fn parent_provide_clock(&self) -> Option<Clock>

source

fn parent_post_message(&self, msg: Message) -> bool

source

fn panicked(&self) -> &AtomicBool

source

fn catch_panic<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>( &self, fallback: G, f: F, ) -> R

source

fn catch_panic_future<R, F: FnOnce() -> R, G: Future<Output = R>>( &self, fallback: F, fut: G, ) -> CatchPanic<Self, F, G>

source

fn catch_panic_pad_function<R, F: FnOnce(&Self) -> R, G: FnOnce() -> R>( parent: Option<&Object>, fallback: G, f: F, ) -> R

source

fn post_error_message(&self, msg: ErrorMessage)

Object Safety§

This trait is not object safe.

Implementors§