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.
pub trait MutDomObject: DomObject {
// Required method
unsafe fn init_reflector(&self, obj: *mut JSObject);
}
A trait to initialize the Reflector
for a DOM object.