Skip to main content

WebViewStyle

Trait WebViewStyle 

Source
pub trait WebViewStyle: 'static {
    // Required method
    fn make_body(
        &self,
        cfg: &WebViewStyleConfig,
        ctx: &mut BuildContext<'_>,
    ) -> WidgetId;
}
Expand description

Tier-3 style protocol for WebView. Produces the overlay body shown behind/around the native engine surface.

Required Methods§

Source

fn make_body( &self, cfg: &WebViewStyleConfig, ctx: &mut BuildContext<'_>, ) -> WidgetId

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§