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.

A helper struct to simulate a JS-interoperable Callback with no input arguments.

Traits

A trait for callable structs with one and only one input argument and some return value.