Module rquickjs_core::module
source · Expand description
Types for loading and handling JS modules.
Macros
- Helper macro to provide module init function. Use for exporting module definitions to be loaded as part of a dynamic library.
Structs
- Module declarations.
- ExportEntriesIter
exports
An iterator over the items exported out a module - ExportNamesIter
exports
An iterator over the items exported out a module - A struct used to load the exports of a module.
- A javascript module.
- The data required to load a module, either from source or native.
- A struct for loading multiple modules at once safely.
Enums
- An enum containing all possible ways to declare an module.
Traits
- Module definition trait
Type Definitions
- The raw module load function (
js_module_init
)