Trait WebviewWindowExt

Source
pub trait WebviewWindowExt<R: Runtime> {
    // Required method
    fn to_panel<P: FromWindow<R> + 'static>(&self) -> Result<Arc<dyn Panel<R>>>;
}

Required Methods§

Source

fn to_panel<P: FromWindow<R> + 'static>(&self) -> Result<Arc<dyn Panel<R>>>

Convert window to specific panel type

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.

Implementations on Foreign Types§

Source§

impl<R: Runtime> WebviewWindowExt<R> for WebviewWindow<R>

Source§

fn to_panel<P: FromWindow<R> + 'static>(&self) -> Result<Arc<dyn Panel<R>>>

Implementors§