pub(crate) trait TestBindingMaplikeWithInterfaceMethods<D: DomTypes> {
    // Required methods
    fn SetInternal(&self, aKey: DOMString, aValue: &D::TestBinding);
    fn ClearInternal(&self);
    fn DeleteInternal(&self, aKey: DOMString) -> bool;
    fn HasInternal(&self, aKey: DOMString) -> bool;
    fn GetInternal(&self, aKey: DOMString) -> Fallible<DomRoot<D::TestBinding>>;
    fn Size(&self) -> u32;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> Fallible<DomRoot<D::TestBindingMaplikeWithInterface>>;
}

Required Methods§

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§