Module rquickjs_core::prelude
source · Expand description
A group of often used types.
Re-exports
Structs
- Async
futures
Helper type for creating a function from a closure which returns a future. - The wrapper for values to force coercion
- Helper type for making an parameter set exhaustive.
- A type to flatten tuples into another tuple.
- Helper type to implement ToJsFunction for closure by constraining arguments.
- helper type for retrieving function object on which a function is called..
- Helper type for creating a function from a closure which implements FnMut
- Helper type for creating a function from a closure which implements FnMut
- Helper type for optional paramaters.
- Helper type for rest and spread arguments.
- helper type for working setting and retrieving
this
values.
Traits
- Extension trait to easily turn results with
Error
into results withCaughtError
- Trait for converting values from atoms.
- For converting javascript values to rust values
- A trait for converting values into arguments.
- A trait for converting a tuple of values into a list arguments.
- Trait for converting values to atoms.
- For converting rust values to javascript values
- Extension trait to easily turn results with
CaughtError
into results withError