pub(crate) trait TestBindingMaplikeWithPrimitiveMethods<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) -> Fallible<i32>;
    fn Size(&self) -> u32;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> Fallible<DomRoot<D::TestBindingMaplikeWithPrimitive>>;
}

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) -> Fallible<i32>

Source

fn Size(&self) -> u32

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Fallible<DomRoot<D::TestBindingMaplikeWithPrimitive>>

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§