pub trait HTMLCollectionMethods<D>where
D: DomTypes,{
// Required methods
fn Length(&self) -> u32;
fn Item(&self, index: u32) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn NamedItem(
&self,
name: DOMString,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn IndexedGetter(
&self,
index: u32,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn SupportedPropertyNames(&self) -> Vec<DOMString>;
fn NamedGetter(
&self,
name: DOMString,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
}