pub(crate) trait HTMLTemplateElementMethods<D>where
D: DomTypes,{
// Required methods
fn Content(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::DocumentFragment>>;
fn ShadowRootMode(&self) -> DOMString;
fn SetShadowRootMode(&self, cx: &mut JSContext, value: DOMString);
fn ShadowRootDelegatesFocus(&self) -> bool;
fn SetShadowRootDelegatesFocus(&self, cx: &mut JSContext, value: bool);
fn ShadowRootSlotAssignment(&self) -> DOMString;
fn SetShadowRootSlotAssignment(&self, cx: &mut JSContext, value: DOMString);
fn ShadowRootClonable(&self) -> bool;
fn SetShadowRootClonable(&self, cx: &mut JSContext, value: bool);
fn ShadowRootSerializable(&self) -> bool;
fn SetShadowRootSerializable(&self, cx: &mut JSContext, value: bool);
}Required Methods§
fn Content( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::DocumentFragment>>
fn ShadowRootMode(&self) -> DOMString
fn SetShadowRootMode(&self, cx: &mut JSContext, value: DOMString)
fn ShadowRootDelegatesFocus(&self) -> bool
fn SetShadowRootDelegatesFocus(&self, cx: &mut JSContext, value: bool)
fn ShadowRootSlotAssignment(&self) -> DOMString
fn SetShadowRootSlotAssignment(&self, cx: &mut JSContext, value: DOMString)
fn ShadowRootClonable(&self) -> bool
fn SetShadowRootClonable(&self, cx: &mut JSContext, value: bool)
fn ShadowRootSerializable(&self) -> bool
fn SetShadowRootSerializable(&self, cx: &mut JSContext, value: bool)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".