Struct web_view::DialogBuilder

source ·
pub struct DialogBuilder<'a: 'b, 'b, T: 'a> { /* private fields */ }
Expand description

A builder for opening a new dialog window.

Implementations

Creates a new dialog builder for a WebView.

Opens a new open file dialog and returns the chosen file path.

Opens a new choose directory dialog as returns the chosen directory path.

Opens an info alert dialog.

Opens a warning alert dialog.

Opens an error alert dialog.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.