[−][src]Crate web_view
This library provides Rust bindings for the webview library to allow easy creation of cross-platform Rust desktop apps with GUIs based on web technologies.
It supports two-way bindings for communication between the Rust backend and JavaScript frontend.
It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and MSHTML (IE10/11) on Windows, so your app will be much leaner than with Electron.
To use a custom version of webview, define an environment variable WEBVIEW_DIR with the path to its source directory.
For usage info please check out the examples and the original readme.
Structs
| Color | An RGBA color. |
| DialogBuilder | A builder for opening a new dialog window. |
| Handle | A thread-safe handle to a |
| WebView | An owned webview instance. |
| WebViewBuilder | Builder for constructing a |
Enums
| Content | Content displayable inside a |
| Error | A WebView error. |
Traits
| CustomError |
Functions
| builder | Constructs a new builder for a |
| escape | Escape a string to pass it into JavaScript. |
Type Definitions
| WVResult | A WebView result. |