Trait script::dom::bindings::codegen::Bindings::HTMLCollectionBinding::HTMLCollection_Binding::HTMLCollectionMethods
source · pub trait HTMLCollectionMethods<D: DomTypes> {
// Required methods
fn Length(&self) -> u32;
fn Item(&self, index: u32) -> Option<Root<Dom<Element>>>;
fn NamedItem(&self, name: DOMString) -> Option<Root<Dom<Element>>>;
fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<Element>>>;
fn SupportedPropertyNames(&self) -> Vec<DOMString>;
fn NamedGetter(&self, name: DOMString) -> Option<Root<Dom<Element>>>;
}