pub trait TestBindingIterableMethods<D: DomTypes> {
    // Required methods
    fn Add(&self, arg: DOMString);
    fn Length(&self) -> u32;
    fn GetItem(&self, index: u32) -> DOMString;
    fn IndexedGetter(&self, index: u32) -> Option<DOMString>;
    fn Constructor(
        global: &GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> Result<Root<Dom<TestBindingIterable>>, Error>;
}

Required Methods§

source

fn Add(&self, arg: DOMString)

source

fn Length(&self) -> u32

source

fn GetItem(&self, index: u32) -> DOMString

source

fn IndexedGetter(&self, index: u32) -> Option<DOMString>

source

fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Result<Root<Dom<TestBindingIterable>>, Error>

Object Safety§

This trait is not object safe.

Implementors§