pub trait FromWindow<R: Runtime>: Panel<R> + Sized {
// Required method
fn from_window(window: WebviewWindow<R>, label: String) -> Result<Self>;
}
Expand description
Trait for panels that can be created from a window
Required Methods§
Sourcefn from_window(window: WebviewWindow<R>, label: String) -> Result<Self>
fn from_window(window: WebviewWindow<R>, label: String) -> Result<Self>
Create panel from a Tauri window
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.