Expand description
Re-exports§
- pub use runtime::Runtime;
- pub use context::Context;
- pub use context::Ctx;
- pub use class::Class;
- pub use context::AsyncContext;- futures
- pub use runtime::AsyncRuntime;- futures
Modules§
- allocatorallocatorTools for using different allocators with QuickJS.
- JavaScript array types.
- QuickJS atom functionality.
- JavaScript classes defined from Rust.
- JS Contexts related types.
- Utilities for converting to and from JavaScript values.
- JavaScript function functionality
- loaderloaderLoaders and resolvers for loading JS modules.
- Utility types and traits.
- Types for loading and handling JS modules.
- Module for types dealing with JS objects.
- A group of often used types.
- Javascript promises and future integration.
- Native low-level bindings
- QuickJS runtime related types.
Macros§
- async_with futuresA macro for safely using an asynchronous context while capturing the environment.
- Helper macro to provide module init function. Use for exporting module definitions to be loaded as part of a dynamic library.
Structs§
- Rust representation of a JavaScript object optimized as an array.
- ArrayBuffer array-bufferRust representation of a JavaScript object of class ArrayBuffer.
- A QuickJS Atom.
- Rust representation of a JavaScript big int.
- The wrapper for values to force coercion
- A JavaScript instance of Error
- The property filter
- A JavaScript function.
- A JavaScript module.
- The placeholder which treated asnullvalue
- Rust representation of a JavaScript object.
- The wrapper for JS values to keep it from GC
- A JavaScript promise.
- Rust representation of a JavaScript string.
- Rust representation of a JavaScript symbol.
- TypedArray array-bufferRust representation of a JavaScript objects of TypedArray classes.
- The placeholder which treated asundefinedvalue
- Any JavaScript value
Enums§
- An error type containing possible thrown exception values.
- Error type of the library.
- The type of JavaScript value
Traits§
- Extension trait to easily turn results withErrorinto results withCaughtError
- Trait for converting values from atoms.
- The Rust’sFromIteratortrait to use withCtx
- For converting JavaScript values to Rust values
- Trait for converting values to atoms.
- For converting Rust values to JavaScript values
- The trait which signifies a type using the rquickjs'jslifetime trick for maintaining safety around Javascript values.
- Extension trait to easily turn results withCaughtErrorinto results withError
Type Aliases§
- Result type containing an the JavaScript exception if there was one.
- Result type used throughout the library.