Modules§
- collections 🔒
- custom 🔒
- macros 🔒
- root 🔒
- trace 🔒
Structs§
- Custom
Auto Rooter - Custom
Auto Rooter Guard - An RAII guard used to root underlying data in
CustomAutoRooter
until the guard is dropped (falls out of scope). The underlying data can be accessed through this guard via its Deref and DerefMut implementations. This structure is created byroot
method onCustomAutoRooter
or by theauto_root!
macro. - Handle
- Mutable
Handle - Rootable
Vec - A vector of items to be rooted with
RootedVec
. Guaranteed to be empty when not rooted. - 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. - Rooted
Traceable Box - Roots any JSTraceable thing
- Rooted
Traceable Set - Holds a set of JSTraceables that need to be rooted
- Rooted
Vec - A vector of items rooted for the lifetime ’a.
- StackGC
Vector
Traits§
- Custom
Trace - Similarly to
Traceable
trait, it’s used to specify tracing of various types that are used in conjunction withCustomAutoRooter
. - GCMethods
- A trait for types which can place appropriate GC barriers.
- Initialize
- Trait that provides a GC-safe default value for the given type, if one exists.
- Root
Kind - A trait for JS types that can be registered as roots.
- Rootable
- Marker trait that allows any type that implements the [trace::Traceable] trait to be used with the Rooted type.
- Traceable
- Types that can be traced.