pub trait DomObjectWrap: Sized + DomObject {
    const WRAP: unsafe fn(_: JSContext, _: &GlobalScope, _: Box<Self>) -> Root<Dom<Self>>;
}
Expand description

A trait to provide a function pointer to wrap function for DOM objects.

Required Associated Constants

Function pointer to the general wrap function type

Implementors