Trait mozjs::rust::CustomTrace [] [src]

pub unsafe trait CustomTrace {
    fn trace(&self, trc: *mut JSTracer);
}

Similarly to Trace trait, it's used to specify tracing of various types that are used in conjunction with CustomAutoRooter.

Required Methods

Implementations on Foreign Types

impl CustomTrace for *mut JSObject
[src]

[src]

impl<T: CustomTrace> CustomTrace for Option<T>
[src]

[src]

impl<T: CustomTrace> CustomTrace for Vec<T>
[src]

[src]

Implementors