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§

source

fn SetInternal(&self, aKey: DOMString, aValue: i32)

source

fn ClearInternal(&self)

source

fn DeleteInternal(&self, aKey: DOMString) -> bool

source

fn HasInternal(&self, aKey: DOMString) -> bool

source

fn GetInternal(&self, aKey: DOMString) -> Result<i32, Error>

source

fn Size(&self) -> u32

source

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

Object Safety§

This trait is not object safe.

Implementors§