Skip to main content

Crate wry_bindgen_macro_support

Crate wry_bindgen_macro_support 

Source
Expand description

wry-bindgen-macro-support - Implementation of the wasm_bindgen attribute macro

This crate contains Wry code generation for the #[wasm_bindgen] attribute macro. Parsing and macro API compatibility come from upstream wasm-bindgen-macro-support.

Functionsยง

expand
Expand the wasm_bindgen attribute macro.
expand_class_marker
Expand an internal wasm-bindgen class marker method.
expand_link_to
Expand a link_to!(kind = "literal") invocation into a runtime call that registers the referenced JS with the wry runtime and returns the URL the WebView serves it from.