Skip to main content

CefWebviewExt

Trait CefWebviewExt 

Source
pub trait CefWebviewExt<R: Runtime> {
    // Required method
    fn cef_webviews(&self) -> State<'_, Registry<R>>;
}
Expand description

Access the plugin registry from a Tauri app handle.

Required Methods§

Source

fn cef_webviews(&self) -> State<'_, Registry<R>>

Returns the plugin registry, which exposes Registry::get.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<R: Runtime, M: Manager<R>> CefWebviewExt<R> for M