pub(crate) 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: &D::GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
) -> Fallible<DomRoot<D::TestBindingIterable>>;
}
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::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Fallible<DomRoot<D::TestBindingIterable>>
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.