Crate webui

source ·
Expand description

Web UI

webui is a website framework for building webassembly SPA websites quickly and easily. Development is just getting started, so we do not recommend using at this point for anything more than experimenting.

Re-exports

pub use async_std;
pub use futures;
pub use serde;
pub use serde_json;
pub use wasm_bindgen;
pub use web_sys;
pub use yew;
pub use yew_agent;
pub use yew_hooks;
pub use prelude::*;

Modules

Actors represent intermediaries for processing specific types of requests
Agents for sending and receiving messages between components.
Helpers for common settings and configurations
Components used for managing and rendering html output
Data Types
Javascript interop and related macros
Generalized macros
Shortcut for all common components

Macros

Macro for consolidating classes into single string
Convenience function for creating decimal numbers
Macro for quickly logging data to the browser’s console.log
Macro for expanding string arguments into list items
Macro for expanding string arguments into paragraphs
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title
Macro for expanding string arguments into a title

Structs

Link to agent’s scope for creating callbacks.
Create a single instance in the current thread.
A newtype around a bridge to indicate that it is distinct from a normal bridge
Id of responses handler.
Create an instance in the current thread.
A Rust Future backed by a JavaScript Promise.
Create a new instance for every bridge.
Create a single instance in a tab.
The Request class.
The RequestInit dictionary.
The Response class.
State handle for use_bridge hook

Enums

The RequestMode enum.

Traits

Declares the behavior of the agent.
Bridge to a specific kind of worker.
This trait allows registering or getting the address of a worker.
This trait allows the creation of a dispatcher to an existing agent that will not send replies when messages are sent.
Implements rules to register a worker in a separate thread.

Functions

Runs a Rust Future on the current thread.
Initializer to run in app main() to start website
A hook to bridge to an Agent.

Attribute Macros