Module wasm_react::callback
source · [−]Expand description
This module provides structs to pass Rust closures to JS.
Structs
This is a simplified, reference-counted wrapper around an FnMut
Rust
closure that may be called from JS when T
and U
allow.
This is a wrapper around a Callback
which can persist through the
lifetime of a component.
Traits
A trait for callable structs with one and only one input argument and some return value.