[]Struct moxie_dom::prelude::event::Storage

pub struct Storage(_);

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

Methods from Deref<Target = StorageEvent>

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

Getter for the key field of this object.

MDN Documentation

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

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

Getter for the oldValue field of this object.

MDN Documentation

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

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

Getter for the newValue field of this object.

MDN Documentation

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

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

Getter for the url field of this object.

MDN Documentation

This API requires the following crate features to be activated: 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

Trait Implementations

impl AsRef<Event> for Storage[src]

impl AsRef<JsValue> for Storage[src]

impl Debug for Storage[src]

impl Deref for Storage[src]

type Target = StorageEvent

The resulting type after dereferencing.

impl Event for Storage[src]

type Builder = StorageBuilder

The builder type returned by new().

impl EventTarget<Storage> for BodyBuilder[src]

impl From<Storage> for JsValue[src]

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 JsCast for Storage[src]

impl OptionFromWasmAbi for Storage[src]

impl OptionIntoWasmAbi for Storage[src]

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 RefMutFromWasmAbi for Storage[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, Storage>

Same as RefFromWasmAbi::Anchor

Auto Trait Implementations

impl RefUnwindSafe for Storage

impl !Send for Storage

impl !Sync for Storage

impl Unpin for Storage

impl UnwindSafe for Storage

Blanket Implementations

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

impl<T> AsContext for T where
    T: Debug + 'static, 
[src]

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

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

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

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

impl<T> Instrument for T[src]

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

impl<T> Pretty for T where
    T: AsRef<JsValue>, 
[src]

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.