Module native_function

Module native_function 

Source
Expand description

Boa’s wrappers for native Rust functions to be compatible with ECMAScript calls.

NativeFunction is the main type of this module, providing APIs to create native callables from native Rust functions and closures.

Structs§

NativeFunction
A callable Rust function that can be invoked by the engine.
NativeFunctionObject
The data of an object containing a NativeFunction.

Type Aliases§

NativeFunctionPointer
The required signature for all native built-in function pointers.