pub trait DomObject: JSTraceable + 'static {
fn reflector(&self) -> &Reflector;
fn global(&self) -> Root<Dom<GlobalScope>>
where
Self: Sized,
{ ... }
}
Expand description
A trait to provide access to the Reflector
for a DOM object.