Modules§
- ptr 🔒Manually manage memory through raw pointers.
Structs§
- A generic handle to an array of rooted values.
- JSObject 🔒
- Rc 🔒A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
Enums§
- Behavior for converting out-of-range integers.
- An enum to better support enums through FromJSValConvertible::from_jsval.
Traits§
- A trait to convert
JSVal
s to Rust types. - A trait to convert Rust types to
JSVal
s.
Functions§
- Call 🔒 ⚠
- Get the current realm’s global. Returns nullptr if no realm has been entered.
- IsCallable 🔒 ⚠Return true if the given object is callable. In ES6 terms, an object is callable if it has a [Call] internal method.
- JS_
NewObject 🔒 ⚠ - JS_
Wrap 🔒 ⚠Value - If there is a pending panic, resume unwinding.
- throw_
type_ 🔒 ⚠error Throw aTypeError
with the given message.