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§
Sourcefn reflector(&self) -> &Reflector<Self::ReflectorType>
fn reflector(&self) -> &Reflector<Self::ReflectorType>
Returns the receiver’s reflector.