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;futurespub use crate::promise::Promised;futures
Structs
- Async
futuresThe 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
thisfrom input
Traits
- A helper trait to pass arguments on a function calls.
- Extension trait to easily turn results with
Errorinto 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
CaughtErrorinto results withError