Module rquickjs_core::function
source · Expand description
JavaScript function functionality
Structs§
- Argument input for a functions
- Helper type for creating a function from a closure which returns a future.
- A function which can be used as a constructor.
- Helper type for making an parameter set exhaustive.
- A type to flatten tuples into another tuple.
- Helper type to implement
IntoJsFunc
for closure by constraining arguments. - helper type for retrieving function object on which a function is called..
- A JavaScript function.
- Helper type for creating a function from a closure which implements
FnMut
- Helper type for converting an option into null instead of undefined.
- Helper type for creating a function from a closure which implements
FnMut
- Helper type for optional parameters.
- A struct encoding the requirements of a parameter set.
- A struct which contains the values a callback is called with.
- Accessor to parameters used for retrieving arguments in order one at the time.
- Helper type for rest and spread arguments.
- The class used for wrapping closures, rquickjs implements callbacks by creating an instances of this class.
- A static class method for making function object like classes.
- helper type for working setting and retrieving
this
values.
Traits§
- A trait to extract argument values.
- A trait to extract a tuple of argument values.
- A trait for converting values into arguments.
- A trait for converting a tuple of values into a list arguments.
- A trait for converting a Rust function to a JavaScript function.
- A trait for functions callable from JavaScript but static, Used for implementing callable objects.