[−][src]Module afterglow::prelude
Re-exports
pub use crate::bus::*; |
pub use crate::container::*; |
pub use crate::messenger::*; |
pub use crate::renderer::*; |
pub use dodrio; |
pub use typed_html; |
pub use wasm_bindgen; |
pub use web_sys; |
Modules
future | Asynchronous values. |
mpsc | A multi-producer, single-consumer queue for sending values across asynchronous tasks. |
oneshot | A channel for sending a single message between asynchronous tasks. |
sink | Asynchronous sinks. |
stream | Asynchronous streams. |
Macros
bf | Like the |
dodrio |
Structs
Closure | A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure. |
Event | The |
EventListener | RAII type which is used to manage DOM event listeners. |
JsFuture | A Rust |
JsValue | Representation of an object owned by JS. |
Node | A virtual DOM node. |
Receiver | The receiving end of an unbounded mpsc channel. |
RenderContext | Common context available to all |
Sender | The transmission end of an unbounded mpsc channel. |
Traits
AsyncBufRead | Read bytes asynchronously. |
AsyncRead | Read bytes asynchronously. |
AsyncSeek | Seek bytes asynchronously. |
AsyncWrite | Write bytes asynchronously. |
Future | A future represents an asynchronous computation. |
JsCast | A trait for checked and unchecked casting between JS types. |
Sink | A |
Stream | A stream of values produced asynchronously. |
TryFuture | A convenience for futures that return |
TryStream | A convenience for streams that return |
UnwrapThrowExt | An extension trait for |
_ | An extension trait for |
_ | Adapters specific to |
_ | An extension trait which adds utility methods to |
_ | An extension trait which adds utility methods to |
_ | An extension trait which adds utility methods to |
_ | An extension trait which adds utility methods to |
_ | An extension trait for |
_ | Adapters specific to |
_ | An extension trait for |
Functions
future_to_promise | Converts a Rust |
spawn_local | Runs a Rust |
text | Construct a text node. |
Attribute Macros
__wasm_bindgen_class_marker | |
wasm_bindgen |