Expand description
The two directions of the bridge, as free functions.
crate::convert owns the actual conversions; this module exists so that the exported
API files can write jsvalue_of(value) and value_of(js) without each of them importing
the same pair of names. The names read the way the C API does — a JSValue is what goes
over the boundary, a Value is what the engine holds.
Functions§
- jsvalue_
of - Box an engine value as a
JSValuethe caller owns. - value_
of ⚠ - The engine value behind a
JSValue, when it is one this layer can decode.