pub trait MutDomObject: DomObject {
// Required method
unsafe fn init_reflector(&self, obj: *mut JSObject);
}
Expand description
A trait to initialize the Reflector
for a DOM object.
Required Methods§
sourceunsafe fn init_reflector(&self, obj: *mut JSObject)
unsafe fn init_reflector(&self, obj: *mut JSObject)
Initializes the Reflector