ElementImplExt

Trait ElementImplExt 

Source
pub trait ElementImplExt<T> {
    // Required method
    fn catch_panic_pad_function<R, F: FnOnce(&Self, &T) -> R, G: FnOnce() -> R>(
        parent: &Option<Object>,
        fallback: G,
        f: F,
    ) -> R;
}

Required Methods§

Source

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

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.

Implementors§