pub unsafe trait StableTraceObject {
    fn stable_trace_object(&self) -> *const dyn JSTraceable;
}
Expand description

Represents values that can be rooted through a stable address that will not change for their whole lifetime.

Required Methods§

source

fn stable_trace_object(&self) -> *const dyn JSTraceable

Returns a stable trace object which address won’t change for the whole lifetime of the value.

Implementors§

source§

impl<T> StableTraceObject for Dom<T>where
    T: DomObject,

source§

impl<T> StableTraceObject for MaybeUnreflectedDom<T>where
    T: DomObject,