pub trait CSSRuleMethods<D>where
D: DomTypes,{
// Required methods
fn Type(&self) -> u16;
fn CssText(&self) -> DOMString;
fn SetCssText(&self, value: DOMString);
fn GetParentRule(&self) -> Option<Root<Dom<<D as DomTypes>::CSSRule>>>;
fn GetParentStyleSheet(
&self,
) -> Option<Root<Dom<<D as DomTypes>::CSSStyleSheet>>>;
}Required Methods§
fn Type(&self) -> u16
fn CssText(&self) -> DOMString
fn SetCssText(&self, value: DOMString)
fn GetParentRule(&self) -> Option<Root<Dom<<D as DomTypes>::CSSRule>>>
fn GetParentStyleSheet( &self, ) -> Option<Root<Dom<<D as DomTypes>::CSSStyleSheet>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".