[]Struct augdom::event::Storage

pub struct Storage(_);

A storage area (localStorage or sessionStorage) has changed. MDN documentation

Methods from Deref<Target = StorageEvent>

pub fn init_storage_event(&self, type_: &str)[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble(&self, type_: &str, can_bubble: bool)[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble_and_cancelable(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool
)
[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble_and_cancelable_and_key(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    key: Option<&str>
)
[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    key: Option<&str>,
    old_value: Option<&str>
)
[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    key: Option<&str>,
    old_value: Option<&str>,
    new_value: Option<&str>
)
[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn init_storage_event_with_can_bubble_and_cancelable_and_key_and_old_value_and_new_value_and_url(
    &self,
    type_: &str,
    can_bubble: bool,
    cancelable: bool,
    key: Option<&str>,
    old_value: Option<&str>,
    new_value: Option<&str>,
    url: Option<&str>
)
[src]

The initStorageEvent() method

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn key(&self) -> Option<String>[src]

The key getter

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn old_value(&self) -> Option<String>[src]

The oldValue getter

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn new_value(&self) -> Option<String>[src]

The newValue getter

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

pub fn url(&self) -> Option<String>[src]

The url getter

MDN Documentation

This API requires the following crate features to be activated: StorageEvent

Trait Implementations

impl Event for Storage[src]

impl AsRef<Event> for Storage[src]

impl AsRef<JsValue> for Storage[src]

impl From<Storage> for JsValue[src]

impl Deref for Storage[src]

type Target = StorageEvent

The resulting type after dereferencing.

impl RefFromWasmAbi for Storage[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, Storage>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl FromWasmAbi for Storage[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for Storage[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for Storage[src]

impl OptionFromWasmAbi for Storage[src]

impl OptionIntoWasmAbi for Storage[src]

impl RefMutFromWasmAbi for Storage[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, Storage>

Same as RefFromWasmAbi::Anchor

impl JsCast for Storage[src]

Auto Trait Implementations

impl !Send for Storage

impl !Sync for Storage

impl Unpin for Storage

impl UnwindSafe for Storage

impl RefUnwindSafe for Storage

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi