Skip to main content

Module trace

Module trace 

Source

Structs§

RootedTraceableBox
Roots any JSTraceable thing, at the cost of wrapping it in a Box. Unlike the rooted! macro, the resulting RootedTraceableBox can be safely moved. RootedTraceableBox is slower to create and drop than roots created by rooted!, due to the extra allocations involved.
TraceableSmallVec
A newtype wrapper for SmallVec that allows tracing its contents. This allows creating SmallVecs of unrooted nodes on the stack that are contained within a containing RootedTraceableBox.

Traits§

CustomTraceable
A trait to allow tracing only DOM sub-objects.

Functions§

trace_reflector⚠
Trace the JSObject held by reflector.