Expand description
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
serde_json::Value
from a JSON literal.
Structs§
- Color
- An RGBA color.
- Dialog
Builder - A builder for opening a new dialog window.
- Handle
- A thread-safe handle to a
WebView
instance. Used to dispatch closures onto its task queue. - 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.
- WebView
Builder - Builder for constructing a
WebView
instance.
Enums§
- Content
- Content displayable inside a
WebView
. - Error
- A WebView error.
- Value
- Represents any valid JSON value.
Traits§
Functions§
Type Aliases§
- WVResult
- A WebView result.