pub trait WebviewWindowExt<R: Runtime> {
// Required method
fn to_panel<P: FromWindow<R> + 'static>(&self) -> Result<Arc<dyn Panel<R>>>;
}
Required Methods§
Sourcefn to_panel<P: FromWindow<R> + 'static>(&self) -> Result<Arc<dyn Panel<R>>>
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.