Module rquickjs_core::prelude
source · Expand description
A group of often used types.
Re-exports
pub use crate::context::MultiWith;
pub use crate::promise::Promise;
futures
pub use crate::promise::Promised;
futures
Structs
- Async
futures
The wrapper for async functons - The wrapper for values to force coercion
- The wrapper for function to convert is into JS
- The wrapper for mutable functions
- The wrapper for once functions
- The wrapper the rest arguments from input
- The wrapper to get
this
from input
Traits
- A helper trait to pass arguments on a function calls.
- Extension trait to easily turn results with
Error
into results withCaughtError
- Trait for converting values from atoms.
- For converting javascript values to rust values
- Trait for converting values to atoms.
- For converting rust values to javascript values
- Extension trait to easily turn results with
CaughtError
into results withError