Trait StorageEventMethods

Source
pub(crate) trait StorageEventMethods<D>
where D: DomTypes,
{ // Required methods fn GetKey(&self) -> Option<DOMString>; fn GetOldValue(&self) -> Option<DOMString>; fn GetNewValue(&self) -> Option<DOMString>; fn Url(&self) -> DOMString; fn GetStorageArea(&self) -> Option<Root<Dom<<D as DomTypes>::Storage>>>; fn InitStorageEvent( &self, type_: DOMString, bubbles: bool, cancelable: bool, key: Option<DOMString>, oldValue: Option<DOMString>, newValue: Option<DOMString>, url: USVString, storageArea: Option<&<D as DomTypes>::Storage>, ); fn IsTrusted(&self) -> bool; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &StorageEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::StorageEvent>>, Error>; }

Required Methods§

Source

fn GetKey(&self) -> Option<DOMString>

Source

fn GetOldValue(&self) -> Option<DOMString>

Source

fn GetNewValue(&self) -> Option<DOMString>

Source

fn Url(&self) -> DOMString

Source

fn GetStorageArea(&self) -> Option<Root<Dom<<D as DomTypes>::Storage>>>

Source

fn InitStorageEvent( &self, type_: DOMString, bubbles: bool, cancelable: bool, key: Option<DOMString>, oldValue: Option<DOMString>, newValue: Option<DOMString>, url: USVString, storageArea: Option<&<D as DomTypes>::Storage>, )

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &StorageEventInit<D>, ) -> Result<Root<Dom<<D as DomTypes>::StorageEvent>>, 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§