Trait Element Impl Ext 
Source pub trait ElementImplExt: ElementImpl {
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, G>(&self, fallback: G, f: F) -> R
       where F: FnOnce(&Self) -> R,
             G: FnOnce() -> R { ... }
    fn catch_panic_future<R, F, G>(
        &self,
        fallback: F,
        fut: G,
    ) -> CatchPanic<Self, F, G>
       where F: FnOnce() -> R,
             G: Future<Output = R> { ... }
    fn catch_panic_pad_function<R, F, G>(
        parent: Option<&Object>,
        fallback: G,
        f: F,
    ) -> R
       where F: FnOnce(&Self) -> R,
             G: FnOnce() -> 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, G>(&self, fallback: G, f: F) -> R
fn catch_panic_future<R, F, G>( &self, fallback: F, fut: G, ) -> CatchPanic<Self, F, G>
fn catch_panic_pad_function<R, F, G>( parent: Option<&Object>, fallback: G, f: F, ) -> R
fn post_error_message(&self, msg: ErrorMessage)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.