trait UAShadowRootHelpers<ShadowTree>: UAShadowRoot<ShadowTree> {
// Required methods
fn attach_ua_shadow_root(
cx: &mut JSContext,
element: &Element,
) -> DomRoot<ShadowRoot>;
fn create_shadow_tree(&self, cx: &mut JSContext, element: &Element);
}Required Methods§
fn attach_ua_shadow_root( cx: &mut JSContext, element: &Element, ) -> DomRoot<ShadowRoot>
fn create_shadow_tree(&self, cx: &mut JSContext, element: &Element)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.