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