pub trait TestBindingIterableMethods<D>
where 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: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::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: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::TestBindingIterable>>, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§