pub trait CSSStyleRuleMethods<D>where
D: DomTypes,{
// Required methods
fn SelectorText(&self) -> DOMString;
fn SetSelectorText(&self, cx: &NoGC, value: DOMString);
fn Style(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::CSSStyleDeclaration>>;
}Required Methods§
fn SelectorText(&self) -> DOMString
fn SetSelectorText(&self, cx: &NoGC, value: DOMString)
fn Style( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::CSSStyleDeclaration>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".