Crate rquickjs_macro

Source

Macros§

embed
A macro for embedding JavaScript code into a binary.

Attribute Macros§

class
An attribute for implementing JsClass for a Rust type.
function
A attribute for implementing IntoJsFunc for a certain function.
methods
A attribute for implementing methods for a class.
module
An attribute which generates code for exporting a module to Rust.

Derive Macros§

JsLifetime
A Macro for auto deriving the JsLifetime trait.
Trace
A macro for auto deriving the trace trait.