Skip to main content

Crate js_component_bindgen

Crate js_component_bindgen 

Source

Modules§

esm_bindgen
function_bindgen
intrinsics
Intrinsics used from JS
names
script
Script engines and script-only components.
source

Macros§

uwrite
Calls write! with the passed arguments and unwraps the result.
uwriteln
Calls writeln! with the passed arguments and unwraps the result.

Structs§

ComponentInfo
TranspileConfig
Extensible configuration for transpile_with_config.
TranspileConfigBuilder
Use builder syntax to set the inputs and finish with build().
TranspileOpts
Transpiled

Enums§

AsyncMode
BindingsMode
ExportKind
InstantiationMode

Functions§

dealias
generate_types
get_thrown_type
Utility function for deducing whether a type can throw
transpile
Generate the JS transpilation bindgen for a given Wasm component binary Outputs the file map and import and export metadata for the Transpilation
transpile_with_config
Transpile a component with additional configuration, including an optional external Component Model runtime provider.