Module root
mozjs
0.14.1
Module root
Module Items
Structs
Constants
Type Aliases
In mozjs::
gc
Modules
collections
custom
macros
root
trace
Structs
CustomAutoRooter
CustomAutoRooterGuard
Handle
MutableHandle
RootableVec
RootedGuard
RootedTraceableBox
RootedTraceableSet
RootedVec
Traits
CustomTrace
GCMethods
Initialize
RootKind
Rootable
Traceable
Functions
trace_traceables
Type Aliases
HandleFunction
HandleId
HandleObject
HandleScript
HandleString
HandleSymbol
HandleValue
MutableHandleFunction
MutableHandleId
MutableHandleObject
MutableHandleScript
MutableHandleString
MutableHandleSymbol
MutableHandleValue
SequenceRooter
SequenceRooterGuard
mozjs
::
gc
Module
root
Copy item path
Settings
Help
Summary
Source
Structs
§
Handle
Mutable
Handle
Rooted
Guard
Rust API for keeping a Rooted value in the context’s root stack. Example usage:
rooted!(in(cx) let x = UndefinedValue());
.
RootedGuard::new
also works, but the macro is preferred.
Constants
§
Const
Null
Value
🔒
Type Aliases
§
Handle
Function
Handle
Id
Handle
Object
Handle
Script
Handle
String
Handle
Symbol
Handle
Value
Mutable
Handle
Function
Mutable
Handle
Id
Mutable
Handle
Object
Mutable
Handle
Script
Mutable
Handle
String
Mutable
Handle
Symbol
Mutable
Handle
Value