pub(crate) trait HTMLStyleElementMethods<D>where
D: DomTypes,{
// Required methods
fn Disabled(&self, cx: &mut JSContext) -> bool;
fn SetDisabled(&self, cx: &mut JSContext, value: bool);
fn Media(&self) -> DOMString;
fn SetMedia(&self, cx: &mut JSContext, value: DOMString);
fn Type(&self) -> DOMString;
fn SetType(&self, cx: &mut JSContext, value: DOMString);
fn Blocking(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::DOMTokenList>>;
fn GetSheet(
&self,
cx: &mut JSContext,
) -> Option<Root<Dom<<D as DomTypes>::StyleSheet>>>;
}Required Methods§
fn Disabled(&self, cx: &mut JSContext) -> bool
fn SetDisabled(&self, cx: &mut JSContext, value: bool)
fn Media(&self) -> DOMString
fn SetMedia(&self, cx: &mut JSContext, value: DOMString)
fn Type(&self) -> DOMString
fn SetType(&self, cx: &mut JSContext, value: DOMString)
fn Blocking( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::DOMTokenList>>
fn GetSheet( &self, cx: &mut JSContext, ) -> Option<Root<Dom<<D as DomTypes>::StyleSheet>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".