[−][src]Crate better_web_view
The library is a web-view modification and provides a better way of communication between the Rust backend and the JavaScript frontend.
For usage info please check out the example and the original repo.
Macros
json | Construct a |
Structs
Color | An RGBA color. |
DialogBuilder | A builder for opening a new dialog window. |
Handle | A thread-safe handle to a |
Request | The type of an incoming javascript request |
Response | A response to javascript |
Router | The type for defining routes. The router determine which callback is executed when receives a javascript request. Accepts an interop key and a responding callback |
WebView | An owned webview instance. |
WebViewBuilder | Builder for constructing a |
Enums
Content | Content displayable inside a |
Error | A WebView error. |
Value | Represents any valid JSON value. |
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. |