Struct dioxus_webview::DioxusWebviewBuilder[][src]

pub struct DioxusWebviewBuilder<'a> { /* fields omitted */ }

Implementations

impl<'a> DioxusWebviewBuilder<'a>[src]

pub fn title(self, title: &'a str) -> Self[src]

Sets the title of the WebView window.

Defaults to "Application".

pub fn size(self, width: i32, height: i32) -> Self[src]

Sets the size of the WebView window.

Defaults to 800 x 600.

pub fn resizable(self, resizable: bool) -> Self[src]

Sets the resizability of the WebView window. If set to false, the window cannot be resized.

Defaults to true.

pub fn debug(self, debug: bool) -> Self[src]

Enables or disables debug mode.

Defaults to true for debug builds, false for release builds.

pub fn frameless(self, frameless: bool) -> Self[src]

The window crated will be frameless

defaults to false

pub fn visible(self, visible: bool) -> Self[src]

Set the visibility of the WebView window.

defaults to true

pub fn min_size(self, width: i32, height: i32) -> Self[src]

Sets the minimum size of the WebView window.

Defaults to 300 x 300.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.