Trait TestBindingMaplikeWithPrimitiveMethods

Source
pub trait TestBindingMaplikeWithPrimitiveMethods<D>
where 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: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::TestBindingMaplikeWithPrimitive>>, 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: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::TestBindingMaplikeWithPrimitive>>, Error>

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§