Trait script::dom::bindings::codegen::Bindings::TestBindingIterableBinding::TestBindingIterable_Binding::TestBindingIterableMethods
source · pub trait TestBindingIterableMethods {
// 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§
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>
Object Safety§
This trait is not object safe.