pub struct WebViewBuilder;Expand description
Entry point for mode-specific WebView creation.
Typical usage:
- Strict lxapp page:
WebViewBuilder::strict(tag).on_scheme(...).on_navigation(...).create() - Browser page:
WebViewBuilder::browser(tag).on_new_window(...).on_download(...).create()
Implementations§
Source§impl WebViewBuilder
impl WebViewBuilder
Sourcepub fn strict(webtag: WebTag) -> StrictWebViewBuilder
pub fn strict(webtag: WebTag) -> StrictWebViewBuilder
Start a strict-profile WebView builder.
Sourcepub fn browser(webtag: WebTag) -> BrowserWebViewBuilder
pub fn browser(webtag: WebTag) -> BrowserWebViewBuilder
Start a browser-profile WebView builder.
Auto Trait Implementations§
impl Freeze for WebViewBuilder
impl RefUnwindSafe for WebViewBuilder
impl Send for WebViewBuilder
impl Sync for WebViewBuilder
impl Unpin for WebViewBuilder
impl UnsafeUnpin for WebViewBuilder
impl UnwindSafe for WebViewBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more