pub fn reflect_dom_object_with_wrap<D, AbstractType, GlobalType>(
obj: Box<AbstractType>,
global: &GlobalType,
cx: &mut JSContext,
wrap: unsafe fn(&mut JSContext, &<D as DomTypes>::GlobalScope, Option<Handle<'_, *mut JSObject>>, Box<AbstractType>) -> Root<Dom<AbstractType>>,
) -> Root<Dom<AbstractType>>Expand description
Create the reflector for a new DOM object and yield ownership to the reflector.