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>>>; }

Required Methods§

Source

fn Length(&self) -> u32

Source

fn Item(&self, index: u32) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn NamedItem( &self, name: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn IndexedGetter( &self, index: u32, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Source

fn SupportedPropertyNames(&self) -> Vec<DOMString>

Source

fn NamedGetter( &self, name: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>

Implementors§