Function script::dom::bindings::conversions::native_from_object_static
source ยท pub fn native_from_object_static<T>(obj: *mut JSObject) -> Result<*const T, ()>where
T: DomObject + IDLInterface,
Expand description
Get a *const T
for a DOM object accessible from a JSObject
, where the DOM object
is guaranteed not to be a wrapper.