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

Required Methods§

Source

fn Length(&self) -> u32

Source

fn Item(&self, index: u32) -> Option<DomRoot<D::Element>>

Source

fn NamedItem(&self, name: DOMString) -> Option<DomRoot<D::Element>>

Source

fn IndexedGetter(&self, index: u32) -> Option<DomRoot<D::Element>>

Source

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

Source

fn NamedGetter(&self, name: DOMString) -> Option<DomRoot<D::Element>>

Implementors§