Trait HTMLCollectionMethods
Source pub trait HTMLCollectionMethods<D: DomTypes> {
// Required methods
fn Length(&self, cx: &JSContext) -> u32;
fn Item(&self, cx: &JSContext, index: u32) -> Option<DomRoot<D::Element>>;
fn NamedItem(
&self,
cx: &JSContext,
name: DOMString,
) -> Option<DomRoot<D::Element>>;
fn IndexedGetter(
&self,
cx: &JSContext,
index: u32,
) -> Option<DomRoot<D::Element>>;
fn SupportedPropertyNames(&self, no_gc: &NoGC) -> Vec<DOMString>;
fn NamedGetter(
&self,
cx: &JSContext,
name: DOMString,
) -> Option<DomRoot<D::Element>>;
}