DomObject

Trait DomObject 

Source
pub trait DomObject: Traceable + 'static {
    type ReflectorType: AssociatedMemorySize;

    // Required method
    fn reflector(&self) -> &Reflector<Self::ReflectorType>;
}
Expand description

A trait to provide access to the Reflector for a DOM object.

Required Associated Types§

Required Methods§

Source

fn reflector(&self) -> &Reflector<Self::ReflectorType>

Returns the receiver’s reflector.

Implementors§