ModulesΒ§
- ptr πManually manage memory through raw pointers.
StructsΒ§
- Handle
Value πArray A generic handle to an array of rooted values. - JSContext π
- JSObject π
- Rc πA single-threaded reference-counting pointer. βRcβ stands for βReference Countedβ.
EnumsΒ§
- Conversion
Behavior πBehavior for converting out-of-range integers. - Conversion
Result πAn enum to better support enums through FromJSValConvertible::from_jsval.
TraitsΒ§
- FromJS
ValConvertible πA trait to convertJSVal
s to Rust types. - ToJS
ValConvertible πA trait to convert Rust types toJSVal
s.
FunctionsΒ§
- Call π β
- 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 π β - Null
Value π - Object
OrNull πValue - Object
Value π - Undefined
Value π - maybe_
resume_ πunwind If there is a pending panic, resume unwinding. - throw_
type_ π βerror Throw aTypeError
with the given message.
Type AliasesΒ§
- Array
Buffer π - Array
Buffer πView - Float32
Array π - Float64
Array π - Handle
Object π - Handle
Value π - Heap π
- JSVal π
- Mutable
Handle πObject - Mutable
Handle πValue - RawHandle
Value πReference to a T that has been rooted elsewhere. This is most useful as a parameter type, which guarantees that the T lvalue is properly rooted. See βMove GC Stack Rootingβ above. - Uint8
Array π - Uint8
Clamped πArray