pub trait CSSRuleListMethods<D: DomTypes> {
// Required methods
fn Item(
&self,
cx: &mut JSContext,
index: u32,
) -> Option<DomRoot<D::CSSRule>>;
fn Length(&self) -> u32;
fn IndexedGetter(
&self,
cx: &mut JSContext,
index: u32,
) -> Option<DomRoot<D::CSSRule>>;
}Required Methods§
fn Item(&self, cx: &mut JSContext, index: u32) -> Option<DomRoot<D::CSSRule>>
fn Length(&self) -> u32
fn IndexedGetter( &self, cx: &mut JSContext, index: u32, ) -> Option<DomRoot<D::CSSRule>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".