pub trait DomObjectWrap: Sized + DomObject {
const WRAP: unsafe fn(_: JSContext, _: &GlobalScope, _: Option<HandleObject<'_>>, _: Box<Self>, _: CanGc) -> Root<Dom<Self>>;
}
Expand description
A trait to provide a function pointer to wrap function for DOM objects.
Required Associated Constants§
Object Safety§
This trait is not object safe.