pub fn reflect_weak_referenceable_dom_object<D, T, U>(
cx: &mut JSContext,
obj: Rc<T>,
global: &U,
) -> Root<Dom<T>>where
D: DomTypes,
T: DomObject + WeakReferenceableDomObjectWrap<D>,
U: DerivedFrom<<D as DomTypes>::GlobalScope>,Expand description
Create the reflector for a new DOM object and yield ownership to the reflector.