Trait script::dom::bindings::codegen::Bindings::TestBindingMaplikeBinding::TestBindingMaplike_Binding::TestBindingMaplikeMethods
source · pub trait TestBindingMaplikeMethods<D: DomTypes> {
// Required methods
fn SetInternal(&self, aKey: DOMString, aValue: i32);
fn ClearInternal(&self);
fn DeleteInternal(&self, aKey: DOMString) -> bool;
fn HasInternal(&self, aKey: DOMString) -> bool;
fn GetInternal(&self, aKey: DOMString) -> Result<i32, Error>;
fn Size(&self) -> u32;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
) -> Result<Root<Dom<TestBindingMaplike>>, Error>;
}
Required Methods§
fn SetInternal(&self, aKey: DOMString, aValue: i32)
fn ClearInternal(&self)
fn DeleteInternal(&self, aKey: DOMString) -> bool
fn HasInternal(&self, aKey: DOMString) -> bool
fn GetInternal(&self, aKey: DOMString) -> Result<i32, Error>
fn Size(&self) -> u32
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Result<Root<Dom<TestBindingMaplike>>, Error>
Object Safety§
This trait is not object safe.