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 convert
JSVal
s to Rust types. - ToJS
ValConvertible π - A trait to convert Rust types to
JSVal
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 a
TypeError
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